diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 06:37:28 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 06:37:28 -0400 |
commit | 48f602e65b0bcb10e3a8367dbbb70185e2e33125 (patch) | |
tree | 0205109239b4565f2b09efb7a3f52642132a72ab /parser/html/java/htmlparser | |
parent | 846e0fa4f5aca0e75e37c421689d69bc58a2d3f6 (diff) | |
download | UXP-48f602e65b0bcb10e3a8367dbbb70185e2e33125.tar UXP-48f602e65b0bcb10e3a8367dbbb70185e2e33125.tar.gz UXP-48f602e65b0bcb10e3a8367dbbb70185e2e33125.tar.lz UXP-48f602e65b0bcb10e3a8367dbbb70185e2e33125.tar.xz UXP-48f602e65b0bcb10e3a8367dbbb70185e2e33125.zip |
Bug 1402941 - Add HTMLSlotElement
Tag #1375
Diffstat (limited to 'parser/html/java/htmlparser')
-rw-r--r-- | parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/ElementName.java | 350 |
1 files changed, 178 insertions, 172 deletions
diff --git a/parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/ElementName.java b/parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/ElementName.java index b8e1b944c..5ab5a4ff8 100644 --- a/parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/ElementName.java +++ b/parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/ElementName.java @@ -2175,6 +2175,10 @@ public final class ElementName // CPPONLY: NS_NewHTMLUnknownElement, // CPPONLY: NS_NewSVGUnknownElement, TreeBuilder.OTHER); + public static final ElementName SLOT = new ElementName("slot", "slot", + // CPPONLY: NS_NewHTMLSlotElement, + // CPPONLY: NS_NewSVGUnknownElement, + TreeBuilder.OTHER); public static final ElementName SCRIPT = new ElementName("script", "script", // CPPONLY: NS_NewHTMLScriptElement, // CPPONLY: NS_NewSVGScriptElement, @@ -2270,18 +2274,18 @@ public final class ElementName private final static @NoLength ElementName[] ELEMENT_NAMES = { VKERN, LOGBASE, - FOREIGNOBJECT, + FIELDSET, DATA, LI, - CANVAS, - TT, + COMPLEXES, + QUOTIENT, PRE, ARTICLE, DIALOG, ARCTAN, LISTENER, - REALS, - MOMENT, + RATIONALS, + MROOT, MROW, GEQ, G, @@ -2292,11 +2296,11 @@ public final class ElementName INTERVAL, MN, BR, - NOTANUMBER, - MPRESCRIPTS, - CARTESIANPRODUCT, - LT, - NEST, + POWER, + MMULTISCRIPTS, + CONTENT, + INTERSECT, + RT, SCRIPT, APPLY, COS, @@ -2317,17 +2321,17 @@ public final class ElementName OPTION, MALIGNGROUP, FECOMPONENTTRANSFER, - MUNDEROVER, - SELECTOR, - EXISTS, - NATURALNUMBERS, - DT, - DATALIST, - FESPOTLIGHT, - LIMIT, - MTEXT, - OUTPUT, - ROOT, + MERROR, + VECTOR, + IMPLIES, + PRIMES, + APPLET, + EMPTYSET, + FEPOINTLIGHT, + LOWLIMIT, + NOTSUBSET, + PRODUCT, + SELECT, VECTORPRODUCT, FECOLORMATRIX, INFINITY, @@ -2367,28 +2371,28 @@ public final class ElementName OPTGROUP, CENTER, FEGAUSSIANBLUR, - METER, - MLABELEDTR, - TR, - ARCCOS, - DEFS, - INTEGERS, - MINUS, - PROGRESS, - SEMANTICS, - ARCCOT, - GT, - EQUIVALENT, - FRAMESET, - FEDISTANTLIGHT, - IDENT, - LINEARGRADIENT, - MSQRT, - NOTPRSUBSET, - OBJECT, - PRSUBSET, - RECT, - SCALARPRODUCT, + MOVER, + NOBR, + SOLIDCOLOR, + ADDRESS, + DETAILS, + MS, + NOFRAMES, + PLUS, + TIMES, + BASEFONT, + DETERMINANT, + FONT_FACE_FORMAT, + FEOFFSET, + FONT, + INPUT, + LIST, + MOMENTABOUT, + NOSCRIPT, + OUTERPRODUCT, + PLAINTEXT, + RADIALGRADIENT, + SUBSET, TEXT, SDEV, VIEW, @@ -2468,49 +2472,49 @@ public final class ElementName FOOTER, HANDLER, MARKER, - MOVER, - MERROR, - NOBR, - POWER, - SOLIDCOLOR, - VECTOR, - ADDRESS, - COMPLEXES, - DETAILS, - IMPLIES, - MS, - MMULTISCRIPTS, - NOFRAMES, - PRIMES, - PLUS, - RATIONALS, - TIMES, - APPLET, - BASEFONT, - CONTENT, - DETERMINANT, - EMPTYSET, - FONT_FACE_FORMAT, - FIELDSET, - FEOFFSET, - FEPOINTLIGHT, - FONT, - INTERSECT, - INPUT, - LOWLIMIT, - LIST, - MROOT, - MOMENTABOUT, - NOTSUBSET, - NOSCRIPT, - RT, - OUTERPRODUCT, - PRODUCT, - PLAINTEXT, - QUOTIENT, - RADIALGRADIENT, - SELECT, - SUBSET, + MUNDEROVER, + MLABELEDTR, + NOTANUMBER, + TR, + SELECTOR, + ARCCOS, + CANVAS, + DEFS, + EXISTS, + INTEGERS, + MPRESCRIPTS, + MINUS, + NATURALNUMBERS, + PROGRESS, + REALS, + SEMANTICS, + DT, + ARCCOT, + CARTESIANPRODUCT, + GT, + DATALIST, + EQUIVALENT, + FOREIGNOBJECT, + FRAMESET, + FESPOTLIGHT, + FEDISTANTLIGHT, + LT, + IDENT, + LIMIT, + LINEARGRADIENT, + MOMENT, + MSQRT, + MTEXT, + NOTPRSUBSET, + NEST, + OBJECT, + OUTPUT, + PRSUBSET, + TT, + RECT, + ROOT, + SCALARPRODUCT, + SLOT, TFOOT, UPLIMIT, MENU, @@ -2668,22 +2672,23 @@ public final class ElementName HEADER, OR, MUNDER, + METER, }; private final static int[] ELEMENT_HASHES = { 1909280949, 1753057319, - 2001309869, + 2001349704, 1681770564, 1818230786, - 1982935782, - 2006974466, + 1983002201, + 2007257240, 58773795, 1747176599, 1782357526, 1897999926, 1970938456, - 1990969429, - 2005160150, + 1990969577, + 2005181733, 2055514836, 54061139, 62390273, @@ -2694,11 +2699,11 @@ public final class ElementName 1868641064, 1902641154, 1963982850, - 1971981018, - 1988486811, - 1999745104, - 2002780162, - 2005766372, + 1973040373, + 1988486813, + 1999917383, + 2002882873, + 2005925890, 2008340774, 2082727685, 51965171, @@ -2719,17 +2724,17 @@ public final class ElementName 1905563974, 1938171179, 1967788867, - 1971467002, - 1974775352, - 1984294038, - 1988972590, - 1998585858, - 2000525512, - 2001392795, - 2004557973, - 2005324101, - 2006329158, - 2007803172, + 1971628838, + 1976348214, + 1986140359, + 1989812374, + 1998724870, + 2000825752, + 2001392796, + 2004557976, + 2005543977, + 2006560839, + 2008125638, 2009706573, 2068523853, 2087049448, @@ -2769,28 +2774,28 @@ public final class ElementName 1939219752, 1966223078, 1968053806, - 1971465813, - 1971703386, - 1973420034, - 1982106678, - 1983533124, - 1986351224, - 1988502165, - 1990037800, - 1991350601, - 1998883894, - 2000158722, - 2000965834, - 2001349720, - 2001392798, - 2003062853, - 2004635806, - 2005231925, - 2005543979, - 2006028454, - 2006592552, - 2007601444, - 2008133709, + 1971466997, + 1971938532, + 1974771450, + 1982173479, + 1983633431, + 1986527234, + 1988763672, + 1990074116, + 1991909525, + 1999397992, + 2000439531, + 2001281328, + 2001349736, + 2001495140, + 2003183333, + 2004719812, + 2005279787, + 2005719336, + 2006036556, + 2006896969, + 2007781534, + 2008165414, 2008994116, 2041712436, 2060065124, @@ -2870,49 +2875,49 @@ public final class ElementName 1967795958, 1968840263, 1971461414, - 1971466997, - 1971628838, - 1971938532, - 1973040373, - 1974771450, - 1976348214, - 1982173479, - 1983002201, - 1983633431, - 1986140359, - 1986527234, - 1988486813, - 1988763672, - 1989812374, - 1990074116, - 1990969577, - 1991909525, - 1998724870, - 1999397992, - 1999917383, - 2000439531, - 2000825752, - 2001281328, - 2001349704, - 2001349736, - 2001392796, - 2001495140, - 2002882873, - 2003183333, - 2004557976, - 2004719812, - 2005181733, - 2005279787, - 2005543977, - 2005719336, - 2005925890, - 2006036556, - 2006560839, - 2006896969, - 2007257240, - 2007781534, - 2008125638, - 2008165414, + 1971467002, + 1971703386, + 1971981018, + 1973420034, + 1974775352, + 1982106678, + 1982935782, + 1983533124, + 1984294038, + 1986351224, + 1988486811, + 1988502165, + 1988972590, + 1990037800, + 1990969429, + 1991350601, + 1998585858, + 1998883894, + 1999745104, + 2000158722, + 2000525512, + 2000965834, + 2001309869, + 2001349720, + 2001392795, + 2001392798, + 2002780162, + 2003062853, + 2004557973, + 2004635806, + 2005160150, + 2005231925, + 2005324101, + 2005543979, + 2005766372, + 2006028454, + 2006329158, + 2006592552, + 2006974466, + 2007601444, + 2007803172, + 2008133709, + 2008325940, 2008851557, 2009276567, 2021937364, @@ -3070,5 +3075,6 @@ public final class ElementName 1968836118, 1970798594, 1971457766, + 1971465813, }; } |