Bug 1418002 - Remove HTMLContentElement, r=hsivonen
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Thu, 30 Nov 2017 21:03:10 +0200
changeset 855 a02847df183f5e69003dbb700be4658c4191e51c
parent 854 449e628fa195a15df9431abcf23def5c4078c87a
child 856 1e8c5d1b6096aad5937eb879a6750fa6edcc90a5
push id181
push useropettay@mozilla.com
push dateThu, 30 Nov 2017 19:03:49 +0000
reviewershsivonen
bugs1418002
Bug 1418002 - Remove HTMLContentElement, r=hsivonen
src/nu/validator/htmlparser/impl/ElementName.java
--- a/src/nu/validator/htmlparser/impl/ElementName.java
+++ b/src/nu/validator/htmlparser/impl/ElementName.java
@@ -1334,20 +1334,16 @@ TreeBuilder.DD_OR_DT | SPECIAL | OPTIONA
 public static final ElementName APPLET = new ElementName("applet", "applet", 
 // CPPONLY: NS_NewHTMLUnknownElement,
 // CPPONLY: NS_NewSVGUnknownElement, 
 TreeBuilder.MARQUEE_OR_APPLET | SPECIAL | SCOPING);
 public static final ElementName BASEFONT = new ElementName("basefont", "basefont", 
 // CPPONLY: NS_NewHTMLElement,
 // CPPONLY: NS_NewSVGUnknownElement, 
 TreeBuilder.LINK_OR_BASEFONT_OR_BGSOUND | SPECIAL);
-public static final ElementName CONTENT = new ElementName("content", "content", 
-// CPPONLY: NS_NewHTMLContentElement,
-// CPPONLY: NS_NewSVGUnknownElement, 
-TreeBuilder.OTHER);
 public static final ElementName DATALIST = new ElementName("datalist", "datalist", 
 // CPPONLY: NS_NewHTMLDataListElement,
 // CPPONLY: NS_NewSVGUnknownElement, 
 TreeBuilder.OTHER);
 public static final ElementName FOREIGNOBJECT = new ElementName("foreignobject", "foreignObject", 
 // CPPONLY: NS_NewHTMLUnknownElement,
 // CPPONLY: NS_NewSVGForeignObjectElement, 
 TreeBuilder.FOREIGNOBJECT_OR_DESC | SCOPING_AS_SVG);
@@ -1484,38 +1480,38 @@ public static final ElementName TBODY = 
 // CPPONLY: NS_NewSVGUnknownElement, 
 TreeBuilder.TBODY_OR_THEAD_OR_TFOOT | SPECIAL | FOSTER_PARENTING | OPTIONAL_END_TAG);
 private final static @NoLength ElementName[] ELEMENT_NAMES = {
 MN,
 ELLIPSE,
 FRAMESET,
 H2,
 MGLYPH,
-NOBR,
+METER,
 RADIALGRADIENT,
 RTC,
 EMBED,
 STRIKE,
 OL,
 OPTGROUP,
-PROGRESS,
+NOFRAMES,
 MTEXT,
 VIEW,
 IMG,
 WBR,
 METADATA,
 ASIDE,
 FECOMPOSITE,
 DIALOG,
 MI,
 EM,
 TSPAN,
 FEFUNCR,
-DEFS,
-CONTENT,
+CANVAS,
+BASEFONT,
 FEDISTANTLIGHT,
 OUTPUT,
 TFOOT,
 FEMORPHOLOGY,
 DEL,
 NAV,
 SET,
 Q,
@@ -1530,19 +1526,19 @@ LISTING,
 TH,
 MASK,
 SYMBOL,
 ANIMATEMOTION,
 POLYGON,
 COLGROUP,
 ABBR,
 FEGAUSSIANBLUR,
-ADDRESS,
-MS,
-APPLET,
+TR,
+DETAILS,
+DT,
 FOREIGNOBJECT,
 FESPOTLIGHT,
 INPUT,
 RT,
 TT,
 SLOT,
 MENU,
 FECONVOLVEMATRIX,
@@ -1582,22 +1578,22 @@ CAPTION,
 MAIN,
 SPAN,
 MO,
 HGROUP,
 STOP,
 CENTER,
 FILTER,
 MARKER,
-TR,
-CANVAS,
-DETAILS,
-NOFRAMES,
-DT,
-BASEFONT,
+NOBR,
+ADDRESS,
+DEFS,
+MS,
+PROGRESS,
+APPLET,
 DATALIST,
 FIELDSET,
 FEOFFSET,
 FEPOINTLIGHT,
 FONT,
 LINEARGRADIENT,
 NOSCRIPT,
 OBJECT,
@@ -1685,46 +1681,45 @@ FEDISPLACEMENTMAP,
 RP,
 SAMP,
 BR,
 ANIMATECOLOR,
 HR,
 FECOMPONENTTRANSFER,
 FOOTER,
 HEADER,
-METER,
 };
 private final static int[] ELEMENT_HASHES = {
 1902641154,
 1749395095,
 2001349720,
 893386754,
 1803876550,
-1971938532,
+1971465813,
 2007781534,
 59821379,
 1732381397,
 1756600614,
 1870135298,
 1939219752,
-1990037800,
+1988763672,
 2005324101,
 2060065124,
 55104723,
 62450211,
 1686489160,
 1747048757,
 1749932347,
 1782357526,
 1818755074,
 1881669634,
 1907959605,
 1967760215,
-1983533124,
-1999917383,
+1982935782,
+1999397992,
 2001392798,
 2006329158,
 2008851557,
 2085266636,
 52485715,
 57733651,
 60354131,
 67633153,
@@ -1739,19 +1734,19 @@ 1786534215,
 1805647874,
 1854245076,
 1874102998,
 1898223949,
 1906087319,
 1932928296,
 1965115924,
 1968053806,
-1982173479,
-1986527234,
-1998724870,
+1973420034,
+1983633431,
+1998585858,
 2001309869,
 2001392795,
 2003183333,
 2005925890,
 2006974466,
 2008325940,
 2021937364,
 2068523856,
@@ -1791,22 +1786,22 @@ 1899272519,
 1904412884,
 1907435316,
 1919418370,
 1935549734,
 1941221172,
 1966223078,
 1967795910,
 1971461414,
-1973420034,
-1982935782,
-1983633431,
-1988763672,
-1998585858,
-1999397992,
+1971938532,
+1982173479,
+1983533124,
+1986527234,
+1990037800,
+1998724870,
 2000525512,
 2001349704,
 2001349736,
 2001392796,
 2001495140,
 2004635806,
 2005719336,
 2006028454,
@@ -1894,11 +1889,10 @@ 1934172497,
 1938817026,
 1941178676,
 1963982850,
 1965334268,
 1967128578,
 1967788867,
 1967795958,
 1968836118,
-1971465813,
 };
 }