summaryrefslogtreecommitdiff
path: root/parser/html/java
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-06-01 14:16:06 +0200
committerGitHub <noreply@github.com>2020-06-01 14:16:06 +0200
commitf828451e5f9b4fe63545485dcb97f7e3e4a425b2 (patch)
tree58385636b3b78fd021bf6a121a734e0b3cf84ee7 /parser/html/java
parent52c4750ab24a8d0a55b79fae3face1967aee35f6 (diff)
downloaduxp-f828451e5f9b4fe63545485dcb97f7e3e4a425b2.tar.gz
Issue #1525 - Kill marquee element
* Remove marquee code * Regenerate HTML Elements/parser code for Removal of Marquee. Co-authored-by: Gaming4JC <g4jc@hyperbola.info>
Diffstat (limited to 'parser/html/java')
-rw-r--r--parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/ElementName.java638
1 files changed, 316 insertions, 322 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 4b87d3fde2..c888cdae12 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
@@ -1191,10 +1191,6 @@ public final class ElementName
// CPPONLY: NS_NewHTMLUnknownElement,
// CPPONLY: NS_NewSVGUnknownElement,
TreeBuilder.OTHER);
- public static final ElementName MARQUEE = new ElementName("marquee", "marquee",
- // CPPONLY: NS_NewHTMLDivElement,
- // CPPONLY: NS_NewSVGUnknownElement,
- TreeBuilder.MARQUEE_OR_APPLET | SPECIAL | SCOPING);
public static final ElementName MTABLE = new ElementName("mtable", "mtable",
// CPPONLY: NS_NewHTMLUnknownElement,
// CPPONLY: NS_NewSVGUnknownElement,
@@ -2268,18 +2264,18 @@ public final class ElementName
// CPPONLY: NS_NewSVGUnknownElement,
TreeBuilder.TBODY_OR_THEAD_OR_TFOOT | SPECIAL | FOSTER_PARENTING | OPTIONAL_END_TAG);
private final static @NoLength ElementName[] ELEMENT_NAMES = {
- VKERN,
+ AUDIO,
LOGBASE,
FIELDSET,
DATA,
- LI,
+ IMAGINARYI,
CANVAS,
QUOTIENT,
PRE,
ARTICLE,
- DIALOG,
- ARCTAN,
- LISTENER,
+ FEFUNCG,
+ ARCSIN,
+ MUNDER,
REALS,
MROOT,
MROW,
@@ -2287,11 +2283,11 @@ public final class ElementName
G,
DD,
ELLIPSE,
- STYLE,
- COTH,
- INTERVAL,
- MN,
- BR,
+ TABLE,
+ GLYPH,
+ OL,
+ KEYGEN,
+ ABBR,
NOTANUMBER,
MPRESCRIPTS,
CARTESIANPRODUCT,
@@ -2307,16 +2303,16 @@ public final class ElementName
HEAD,
CONJUGATE,
FRAME,
- OTHERWISE,
- ALTGLYPHDEF,
- ARCTANH,
- TH,
- TBREAK,
- ANIMATETRANSFORM,
- CAPTION,
- OPTION,
- MALIGNGROUP,
- FECOMPONENTTRANSFER,
+ PIECE,
+ DIFF,
+ ARCSINH,
+ SECH,
+ TRACK,
+ ACRONYM,
+ CONDITION,
+ POLYGON,
+ MSUBSUP,
+ FILTER,
MUNDEROVER,
SELECTOR,
EXISTS,
@@ -2347,26 +2343,26 @@ public final class ElementName
DEGREE,
FEIMAGE,
IMAGE,
- MTABLE,
- PIECEWISE,
- TRANSPOSE,
- PARTIALDIFF,
- LISTING,
- ARCCOTH,
- MATH,
- TANH,
- LINK,
- CURL,
- REAL,
- MENUITEM,
- ANIMATEMOTION,
- IN,
- MEDIAN,
- SPAN,
- VIDEO,
- OPTGROUP,
- CENTER,
- FEGAUSSIANBLUR,
+ MSTYLE,
+ RULE,
+ TEMPLATE,
+ SETDIFF,
+ STRONG,
+ CSCH,
+ MPATH,
+ TEXTPATH,
+ MARK,
+ FACTORIAL,
+ SMALL,
+ MPHANTOM,
+ BUTTON,
+ FIGCAPTION,
+ MAIN,
+ SECTION,
+ COLGROUP,
+ SAMP,
+ CURSOR,
+ HEADER,
METER,
MLABELEDTR,
TR,
@@ -2428,45 +2424,45 @@ public final class ElementName
FALSE,
INVERSE,
MODE,
- MENCLOSE,
- POLYLINE,
- SOURCE,
- TITLE,
- TRUE,
- FACTOROF,
- TREF,
- FEDIFFUSELIGHTING,
- ARCSECH,
- ALTGLYPH,
- COSH,
- MGLYPH,
- PREFETCH,
- SWITCH,
- CI,
- MI,
- MALIGNMARK,
- DL,
- FORALL,
- LABEL,
- SYMBOL,
- EM,
- PARAM,
- ANIMATION,
- FN,
- DOMAIN,
- HKERN,
- LAPLACIAN,
- MACTION,
- PATTERN,
- TSPAN,
- MO,
- FEDISPLACEMENTMAP,
- MSUP,
- STOP,
- ANIMATECOLOR,
- HR,
- FOOTER,
- HANDLER,
+ NONE,
+ PICTURE,
+ STRIKE,
+ TIME,
+ VARIANCE,
+ GLYPHREF,
+ CEILING,
+ FESPECULARLIGHTING,
+ ARCCSCH,
+ ARCCOSH,
+ CLIPPATH,
+ MISSING_GLYPH,
+ PATH,
+ SINH,
+ FONT_FACE_URI,
+ PI,
+ MASK,
+ CSYMBOL,
+ HTML,
+ UL,
+ ALTGLYPHITEM,
+ FORM,
+ CN,
+ ANNOTATION,
+ CODOMAIN,
+ DOMAINOFAPPLICATION,
+ LN,
+ MEAN,
+ NOTIN,
+ RELN,
+ UNION,
+ TENDSTO,
+ HGROUP,
+ RP,
+ EQ,
+ BVAR,
+ FEFUNCR,
+ FLOOR,
+ OR,
MARKER,
MOVER,
MERROR,
@@ -2588,100 +2584,99 @@ public final class ElementName
IFRAME,
LINE,
MSPACE,
- MARQUEE,
- MSTYLE,
- NONE,
- PIECE,
- PICTURE,
- RULE,
- STRIKE,
- TABLE,
- TIME,
- TEMPLATE,
- VARIANCE,
- DIFF,
- GLYPHREF,
- SETDIFF,
- CEILING,
- FEFUNCG,
- FESPECULARLIGHTING,
- STRONG,
- ARCCSCH,
- ARCSINH,
- ARCCOSH,
- CSCH,
- CLIPPATH,
- GLYPH,
- MISSING_GLYPH,
- MPATH,
- PATH,
- SECH,
- SINH,
- TEXTPATH,
- FONT_FACE_URI,
- IMAGINARYI,
- PI,
- MARK,
- MASK,
- TRACK,
- CSYMBOL,
- FACTORIAL,
- HTML,
- OL,
- UL,
- SMALL,
- ALTGLYPHITEM,
- ACRONYM,
- FORM,
- MPHANTOM,
- CN,
- ARCSIN,
- ANNOTATION,
- BUTTON,
- CODOMAIN,
- CONDITION,
- DOMAINOFAPPLICATION,
- FIGCAPTION,
- LN,
- KEYGEN,
- MEAN,
- MAIN,
- NOTIN,
- POLYGON,
- RELN,
- SECTION,
- UNION,
- AUDIO,
- TENDSTO,
- COLGROUP,
- HGROUP,
- MSUBSUP,
- RP,
- SAMP,
- EQ,
- ABBR,
- BVAR,
- CURSOR,
- FEFUNCR,
- FILTER,
- FLOOR,
- HEADER,
- OR,
- MUNDER,
+ MTABLE,
+ MENCLOSE,
+ OTHERWISE,
+ POLYLINE,
+ PIECEWISE,
+ SOURCE,
+ STYLE,
+ TITLE,
+ TRANSPOSE,
+ TRUE,
+ ALTGLYPHDEF,
+ FACTOROF,
+ PARTIALDIFF,
+ TREF,
+ DIALOG,
+ FEDIFFUSELIGHTING,
+ LISTING,
+ ARCSECH,
+ ARCTANH,
+ ALTGLYPH,
+ ARCCOTH,
+ COSH,
+ COTH,
+ MGLYPH,
+ MATH,
+ PREFETCH,
+ TH,
+ SWITCH,
+ TANH,
+ CI,
+ LI,
+ MI,
+ LINK,
+ MALIGNMARK,
+ TBREAK,
+ DL,
+ CURL,
+ FORALL,
+ INTERVAL,
+ LABEL,
+ REAL,
+ SYMBOL,
+ ANIMATETRANSFORM,
+ EM,
+ MENUITEM,
+ PARAM,
+ ARCTAN,
+ ANIMATION,
+ ANIMATEMOTION,
+ FN,
+ CAPTION,
+ DOMAIN,
+ IN,
+ HKERN,
+ MN,
+ LAPLACIAN,
+ MEDIAN,
+ MACTION,
+ OPTION,
+ PATTERN,
+ SPAN,
+ TSPAN,
+ VKERN,
+ MO,
+ VIDEO,
+ FEDISPLACEMENTMAP,
+ MALIGNGROUP,
+ MSUP,
+ OPTGROUP,
+ STOP,
+ BR,
+ ANIMATECOLOR,
+ CENTER,
+ HR,
+ FECOMPONENTTRANSFER,
+ FOOTER,
+ FEGAUSSIANBLUR,
+ HANDLER,
+ LISTENER,
};
private final static int[] ELEMENT_HASHES = {
- 1909280949,
+ 1914900309,
1753057319,
2001349704,
1681770564,
- 1818230786,
+ 1818700314,
1982935782,
2007257240,
58773795,
1747176599,
- 1782357526,
- 1897999926,
- 1970938456,
+ 1783210839,
+ 1898130486,
+ 1971457766,
1990969429,
2005181733,
2055514836,
@@ -2689,11 +2684,11 @@ public final class ElementName
62390273,
1730150402,
1749395095,
- 1756625221,
- 1798693940,
- 1868641064,
- 1902641154,
- 1963982850,
+ 1757137429,
+ 1800730821,
+ 1870135298,
+ 1903302038,
+ 1965115924,
1971981018,
1988486811,
1999745104,
@@ -2709,16 +2704,16 @@ public final class ElementName
1733890180,
1748355193,
1749813541,
- 1754634617,
- 1763839627,
- 1797540167,
- 1805647874,
- 1857622310,
- 1881498736,
- 1899272519,
- 1905563974,
- 1938171179,
- 1967788867,
+ 1754894485,
+ 1765431364,
+ 1797544247,
+ 1806799156,
+ 1857653029,
+ 1881613047,
+ 1899272521,
+ 1906087319,
+ 1938172967,
+ 1967795910,
1971467002,
1974775352,
1984294038,
@@ -2749,26 +2744,26 @@ public final class ElementName
1748642422,
1749715159,
1751288021,
- 1753467414,
- 1755158905,
- 1757259017,
- 1771722827,
- 1786534215,
- 1797645367,
- 1803929812,
- 1807501636,
- 1853642948,
- 1865773108,
- 1873350948,
- 1887579800,
- 1898223949,
- 1900544002,
- 1904285766,
- 1907435316,
- 1925844629,
- 1939219752,
- 1966223078,
- 1968053806,
+ 1753479494,
+ 1756098852,
+ 1757268168,
+ 1773295687,
+ 1790207270,
+ 1798417460,
+ 1803929861,
+ 1807599880,
+ 1854228692,
+ 1867061545,
+ 1874053333,
+ 1887743720,
+ 1898753862,
+ 1900845386,
+ 1904412884,
+ 1907661127,
+ 1932928296,
+ 1941178676,
+ 1966386470,
+ 1968836118,
1971465813,
1971703386,
1973420034,
@@ -2830,45 +2825,45 @@ public final class ElementName
1749917205,
1751493207,
1753343188,
- 1753588936,
- 1755076808,
- 1756474198,
- 1757146773,
- 1757293380,
- 1766632184,
- 1773808452,
- 1783388497,
- 1797361975,
- 1797585096,
- 1798677556,
- 1803876550,
- 1805233752,
- 1806806678,
- 1813512194,
- 1818755074,
- 1854228698,
- 1864368130,
- 1867237670,
- 1870268949,
- 1874102998,
- 1881669634,
- 1889085973,
- 1898223945,
- 1898971138,
- 1899694294,
- 1901940917,
- 1903761465,
- 1904515399,
- 1906135367,
- 1907959605,
- 1919418370,
- 1934172497,
- 1938173140,
- 1941221172,
- 1965334268,
- 1967128578,
- 1967795958,
- 1968840263,
+ 1754031332,
+ 1755148615,
+ 1756600614,
+ 1757157700,
+ 1758044696,
+ 1766992520,
+ 1781815495,
+ 1783388498,
+ 1797368887,
+ 1797628983,
+ 1798686984,
+ 1803876557,
+ 1805502724,
+ 1806981428,
+ 1817013469,
+ 1820327938,
+ 1854245076,
+ 1865714391,
+ 1868312196,
+ 1873281026,
+ 1881288348,
+ 1884120164,
+ 1897398274,
+ 1898223946,
+ 1899170008,
+ 1899796819,
+ 1902116866,
+ 1904283860,
+ 1904946933,
+ 1907085604,
+ 1908709605,
+ 1925049415,
+ 1935549734,
+ 1938817026,
+ 1948778498,
+ 1965634084,
+ 1967760215,
+ 1967957189,
+ 1970798594,
1971461414,
1971466997,
1971628838,
@@ -2990,85 +2985,84 @@ public final class ElementName
1751386406,
1752979652,
1753319686,
- 1753362711,
- 1753479494,
- 1754031332,
- 1754894485,
- 1755148615,
- 1756098852,
- 1756600614,
- 1757137429,
- 1757157700,
- 1757268168,
- 1758044696,
- 1765431364,
- 1766992520,
- 1773295687,
- 1781815495,
- 1783210839,
- 1783388498,
- 1790207270,
- 1797368887,
- 1797544247,
- 1797628983,
- 1798417460,
- 1798686984,
- 1800730821,
- 1803876557,
- 1803929861,
- 1805502724,
- 1806799156,
- 1806981428,
- 1807599880,
- 1817013469,
- 1818700314,
- 1820327938,
- 1854228692,
- 1854245076,
- 1857653029,
- 1865714391,
- 1867061545,
- 1868312196,
- 1870135298,
- 1873281026,
- 1874053333,
- 1881288348,
- 1881613047,
- 1884120164,
- 1887743720,
- 1897398274,
- 1898130486,
- 1898223946,
- 1898753862,
- 1899170008,
- 1899272521,
- 1899796819,
- 1900845386,
- 1902116866,
- 1903302038,
- 1904283860,
- 1904412884,
- 1904946933,
- 1906087319,
- 1907085604,
- 1907661127,
- 1908709605,
- 1914900309,
- 1925049415,
- 1932928296,
- 1935549734,
- 1938172967,
- 1938817026,
- 1941178676,
- 1948778498,
- 1965115924,
- 1965634084,
- 1966386470,
- 1967760215,
- 1967795910,
- 1967957189,
- 1968836118,
- 1970798594,
- 1971457766,
+ 1753467414,
+ 1753588936,
+ 1754634617,
+ 1755076808,
+ 1755158905,
+ 1756474198,
+ 1756625221,
+ 1757146773,
+ 1757259017,
+ 1757293380,
+ 1763839627,
+ 1766632184,
+ 1771722827,
+ 1773808452,
+ 1782357526,
+ 1783388497,
+ 1786534215,
+ 1797361975,
+ 1797540167,
+ 1797585096,
+ 1797645367,
+ 1798677556,
+ 1798693940,
+ 1803876550,
+ 1803929812,
+ 1805233752,
+ 1805647874,
+ 1806806678,
+ 1807501636,
+ 1813512194,
+ 1818230786,
+ 1818755074,
+ 1853642948,
+ 1854228698,
+ 1857622310,
+ 1864368130,
+ 1865773108,
+ 1867237670,
+ 1868641064,
+ 1870268949,
+ 1873350948,
+ 1874102998,
+ 1881498736,
+ 1881669634,
+ 1887579800,
+ 1889085973,
+ 1897999926,
+ 1898223945,
+ 1898223949,
+ 1898971138,
+ 1899272519,
+ 1899694294,
+ 1900544002,
+ 1901940917,
+ 1902641154,
+ 1903761465,
+ 1904285766,
+ 1904515399,
+ 1905563974,
+ 1906135367,
+ 1907435316,
+ 1907959605,
+ 1909280949,
+ 1919418370,
+ 1925844629,
+ 1934172497,
+ 1938171179,
+ 1938173140,
+ 1939219752,
+ 1941221172,
+ 1963982850,
+ 1965334268,
+ 1966223078,
+ 1967128578,
+ 1967788867,
+ 1967795958,
+ 1968053806,
+ 1968840263,
+ 1970938456,
};
}