summaryrefslogtreecommitdiffstats
path: root/parser
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 07:08:22 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 07:08:22 -0400
commit8beb65dd501cbdcfd6a793027b5de2a1fdfc7149 (patch)
tree4b524fb1a1888b37bc347dc65c7c200979fe54aa /parser
parent5524318fe73a1123da10491a6a545b50af88ea60 (diff)
downloadUXP-8beb65dd501cbdcfd6a793027b5de2a1fdfc7149.tar
UXP-8beb65dd501cbdcfd6a793027b5de2a1fdfc7149.tar.gz
UXP-8beb65dd501cbdcfd6a793027b5de2a1fdfc7149.tar.lz
UXP-8beb65dd501cbdcfd6a793027b5de2a1fdfc7149.tar.xz
UXP-8beb65dd501cbdcfd6a793027b5de2a1fdfc7149.zip
Bug 1418002 - Remove HTMLContentElement
Tag #1375
Diffstat (limited to 'parser')
-rw-r--r--parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/ElementName.java162
-rw-r--r--parser/html/nsHtml5ElementName.cpp86
-rw-r--r--parser/html/nsHtml5ElementName.h1
-rw-r--r--parser/htmlparser/nsElementTable.cpp1
-rw-r--r--parser/htmlparser/nsHTMLTagList.h1
5 files changed, 119 insertions, 132 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 5ab5a4ff8..4b87d3fde 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
@@ -1987,10 +1987,6 @@ public final class ElementName
// CPPONLY: NS_NewHTMLUnknownElement,
// CPPONLY: NS_NewSVGUnknownElement,
TreeBuilder.OTHER);
- public static final ElementName CONTENT = new ElementName("content", "content",
- // CPPONLY: NS_NewHTMLContentElement,
- // CPPONLY: NS_NewSVGUnknownElement,
- TreeBuilder.OTHER);
public static final ElementName GT = new ElementName("gt", "gt",
// CPPONLY: NS_NewHTMLUnknownElement,
// CPPONLY: NS_NewSVGUnknownElement,
@@ -2277,14 +2273,14 @@ public final class ElementName
FIELDSET,
DATA,
LI,
- COMPLEXES,
+ CANVAS,
QUOTIENT,
PRE,
ARTICLE,
DIALOG,
ARCTAN,
LISTENER,
- RATIONALS,
+ REALS,
MROOT,
MROW,
GEQ,
@@ -2296,9 +2292,9 @@ public final class ElementName
INTERVAL,
MN,
BR,
- POWER,
- MMULTISCRIPTS,
- CONTENT,
+ NOTANUMBER,
+ MPRESCRIPTS,
+ CARTESIANPRODUCT,
INTERSECT,
RT,
SCRIPT,
@@ -2321,11 +2317,11 @@ public final class ElementName
OPTION,
MALIGNGROUP,
FECOMPONENTTRANSFER,
- MERROR,
- VECTOR,
- IMPLIES,
- PRIMES,
- APPLET,
+ MUNDEROVER,
+ SELECTOR,
+ EXISTS,
+ NATURALNUMBERS,
+ DT,
EMPTYSET,
FEPOINTLIGHT,
LOWLIMIT,
@@ -2371,16 +2367,16 @@ public final class ElementName
OPTGROUP,
CENTER,
FEGAUSSIANBLUR,
- MOVER,
- NOBR,
- SOLIDCOLOR,
- ADDRESS,
- DETAILS,
- MS,
- NOFRAMES,
- PLUS,
- TIMES,
- BASEFONT,
+ METER,
+ MLABELEDTR,
+ TR,
+ ARCCOS,
+ DEFS,
+ INTEGERS,
+ MINUS,
+ PROGRESS,
+ SEMANTICS,
+ ARCCOT,
DETERMINANT,
FONT_FACE_FORMAT,
FEOFFSET,
@@ -2472,25 +2468,25 @@ public final class ElementName
FOOTER,
HANDLER,
MARKER,
- MUNDEROVER,
- MLABELEDTR,
- NOTANUMBER,
- TR,
- SELECTOR,
- ARCCOS,
- CANVAS,
- DEFS,
- EXISTS,
- INTEGERS,
- MPRESCRIPTS,
- MINUS,
- NATURALNUMBERS,
- PROGRESS,
- REALS,
- SEMANTICS,
- DT,
- ARCCOT,
- CARTESIANPRODUCT,
+ MOVER,
+ MERROR,
+ NOBR,
+ POWER,
+ SOLIDCOLOR,
+ VECTOR,
+ ADDRESS,
+ COMPLEXES,
+ DETAILS,
+ IMPLIES,
+ MS,
+ MMULTISCRIPTS,
+ NOFRAMES,
+ PRIMES,
+ PLUS,
+ RATIONALS,
+ TIMES,
+ APPLET,
+ BASEFONT,
GT,
DATALIST,
EQUIVALENT,
@@ -2672,7 +2668,6 @@ public final class ElementName
HEADER,
OR,
MUNDER,
- METER,
};
private final static int[] ELEMENT_HASHES = {
1909280949,
@@ -2680,14 +2675,14 @@ public final class ElementName
2001349704,
1681770564,
1818230786,
- 1983002201,
+ 1982935782,
2007257240,
58773795,
1747176599,
1782357526,
1897999926,
1970938456,
- 1990969577,
+ 1990969429,
2005181733,
2055514836,
54061139,
@@ -2699,9 +2694,9 @@ public final class ElementName
1868641064,
1902641154,
1963982850,
- 1973040373,
- 1988486813,
- 1999917383,
+ 1971981018,
+ 1988486811,
+ 1999745104,
2002882873,
2005925890,
2008340774,
@@ -2724,11 +2719,11 @@ public final class ElementName
1905563974,
1938171179,
1967788867,
- 1971628838,
- 1976348214,
- 1986140359,
- 1989812374,
- 1998724870,
+ 1971467002,
+ 1974775352,
+ 1984294038,
+ 1988972590,
+ 1998585858,
2000825752,
2001392796,
2004557976,
@@ -2774,16 +2769,16 @@ public final class ElementName
1939219752,
1966223078,
1968053806,
- 1971466997,
- 1971938532,
- 1974771450,
- 1982173479,
- 1983633431,
- 1986527234,
- 1988763672,
- 1990074116,
- 1991909525,
- 1999397992,
+ 1971465813,
+ 1971703386,
+ 1973420034,
+ 1982106678,
+ 1983533124,
+ 1986351224,
+ 1988502165,
+ 1990037800,
+ 1991350601,
+ 1998883894,
2000439531,
2001281328,
2001349736,
@@ -2875,25 +2870,25 @@ public final class ElementName
1967795958,
1968840263,
1971461414,
- 1971467002,
- 1971703386,
- 1971981018,
- 1973420034,
- 1974775352,
- 1982106678,
- 1982935782,
- 1983533124,
- 1984294038,
- 1986351224,
- 1988486811,
- 1988502165,
- 1988972590,
- 1990037800,
- 1990969429,
- 1991350601,
- 1998585858,
- 1998883894,
- 1999745104,
+ 1971466997,
+ 1971628838,
+ 1971938532,
+ 1973040373,
+ 1974771450,
+ 1976348214,
+ 1982173479,
+ 1983002201,
+ 1983633431,
+ 1986140359,
+ 1986527234,
+ 1988486813,
+ 1988763672,
+ 1989812374,
+ 1990074116,
+ 1990969577,
+ 1991909525,
+ 1998724870,
+ 1999397992,
2000158722,
2000525512,
2000965834,
@@ -3075,6 +3070,5 @@ public final class ElementName
1968836118,
1970798594,
1971457766,
- 1971465813,
};
}
diff --git a/parser/html/nsHtml5ElementName.cpp b/parser/html/nsHtml5ElementName.cpp
index 788c9e36c..ecdfb102d 100644
--- a/parser/html/nsHtml5ElementName.cpp
+++ b/parser/html/nsHtml5ElementName.cpp
@@ -416,7 +416,6 @@ nsHtml5ElementName* nsHtml5ElementName::ELT_APPLET = nullptr;
nsHtml5ElementName* nsHtml5ElementName::ELT_ARCCOT = nullptr;
nsHtml5ElementName* nsHtml5ElementName::ELT_BASEFONT = nullptr;
nsHtml5ElementName* nsHtml5ElementName::ELT_CARTESIANPRODUCT = nullptr;
-nsHtml5ElementName* nsHtml5ElementName::ELT_CONTENT = nullptr;
nsHtml5ElementName* nsHtml5ElementName::ELT_GT = nullptr;
nsHtml5ElementName* nsHtml5ElementName::ELT_DETERMINANT = nullptr;
nsHtml5ElementName* nsHtml5ElementName::ELT_DATALIST = nullptr;
@@ -488,7 +487,7 @@ nsHtml5ElementName* nsHtml5ElementName::ELT_RUBY = nullptr;
nsHtml5ElementName* nsHtml5ElementName::ELT_SUMMARY = nullptr;
nsHtml5ElementName* nsHtml5ElementName::ELT_TBODY = nullptr;
nsHtml5ElementName** nsHtml5ElementName::ELEMENT_NAMES = 0;
-static int32_t const ELEMENT_HASHES_DATA[] = { 1909280949, 1753057319, 2001349704, 1681770564, 1818230786, 1983002201, 2007257240, 58773795, 1747176599, 1782357526, 1897999926, 1970938456, 1990969577, 2005181733, 2055514836, 54061139, 62390273, 1730150402, 1749395095, 1756625221, 1798693940, 1868641064, 1902641154, 1963982850, 1973040373, 1988486813, 1999917383, 2002882873, 2005925890, 2008340774, 2082727685, 51965171, 57200451, 60350803, 69730305, 1703292116, 1733890180, 1748355193, 1749813541, 1754634617, 1763839627, 1797540167, 1805647874, 1857622310, 1881498736, 1899272519, 1905563974, 1938171179, 1967788867, 1971628838, 1976348214, 1986140359, 1989812374, 1998724870, 2000825752, 2001392796, 2004557976, 2005543977, 2006560839, 2008125638, 2009706573, 2068523853, 2087049448, 51434643, 52488851, 56151587, 57210387, 59826259, 60354131, 63438849, 926941186, 1686489160, 1715300574, 1732381397, 1737099991, 1748100148, 1748642422, 1749715159, 1751288021, 1753467414, 1755158905, 1757259017, 1771722827, 1786534215, 1797645367, 1803929812, 1807501636, 1853642948, 1865773108, 1873350948, 1887579800, 1898223949, 1900544002, 1904285766, 1907435316, 1925844629, 1939219752, 1966223078, 1968053806, 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, 2070023911, 2085266636, 2092255447, 50910499, 51957043, 52485715, 53012355, 55110883, 56680499, 57206291, 57732851, 59768833, 60345427, 60352083, 61395251, 62973651, 67633153, 893386754, 960495618, 1682547543, 1689922072, 1713515574, 1716349149, 1731545140, 1733076167, 1736576231, 1740181637, 1747814436, 1748228205, 1748607578, 1748879564, 1749656156, 1749801286, 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, 1971461414, 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, 2051837468, 2055515017, 2066000646, 2068523856, 2072193862, 2083120164, 2087012585, 2091479332, 2092557349, 50908899, 50916387, 51438659, 51961587, 51965683, 52486755, 52490899, 54054451, 55104723, 55111395, 56677619, 56682579, 57205395, 57207619, 57731155, 57733651, 59244545, 59821379, 60345171, 60347747, 60351123, 60352339, 60875283, 61925907, 62450211, 62974707, 67108865, 68681729, 876609538, 910163970, 943718402, 1679960596, 1682186266, 1685703382, 1686491348, 1699324759, 1703936002, 1713736758, 1715310660, 1719741029, 1730965751, 1732069431, 1733054663, 1733372532, 1736200310, 1736576583, 1738539010, 1747048757, 1747306711, 1747838298, 1748225318, 1748346119, 1748359220, 1748621670, 1748846791, 1749272732, 1749649513, 1749673195, 1749723735, 1749813486, 1749905526, 1749932347, 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, 1971465813 };
+static int32_t const ELEMENT_HASHES_DATA[] = { 1909280949, 1753057319, 2001349704, 1681770564, 1818230786, 1982935782, 2007257240, 58773795, 1747176599, 1782357526, 1897999926, 1970938456, 1990969429, 2005181733, 2055514836, 54061139, 62390273, 1730150402, 1749395095, 1756625221, 1798693940, 1868641064, 1902641154, 1963982850, 1971981018, 1988486811, 1999745104, 2002882873, 2005925890, 2008340774, 2082727685, 51965171, 57200451, 60350803, 69730305, 1703292116, 1733890180, 1748355193, 1749813541, 1754634617, 1763839627, 1797540167, 1805647874, 1857622310, 1881498736, 1899272519, 1905563974, 1938171179, 1967788867, 1971467002, 1974775352, 1984294038, 1988972590, 1998585858, 2000825752, 2001392796, 2004557976, 2005543977, 2006560839, 2008125638, 2009706573, 2068523853, 2087049448, 51434643, 52488851, 56151587, 57210387, 59826259, 60354131, 63438849, 926941186, 1686489160, 1715300574, 1732381397, 1737099991, 1748100148, 1748642422, 1749715159, 1751288021, 1753467414, 1755158905, 1757259017, 1771722827, 1786534215, 1797645367, 1803929812, 1807501636, 1853642948, 1865773108, 1873350948, 1887579800, 1898223949, 1900544002, 1904285766, 1907435316, 1925844629, 1939219752, 1966223078, 1968053806, 1971465813, 1971703386, 1973420034, 1982106678, 1983533124, 1986351224, 1988502165, 1990037800, 1991350601, 1998883894, 2000439531, 2001281328, 2001349736, 2001495140, 2003183333, 2004719812, 2005279787, 2005719336, 2006036556, 2006896969, 2007781534, 2008165414, 2008994116, 2041712436, 2060065124, 2070023911, 2085266636, 2092255447, 50910499, 51957043, 52485715, 53012355, 55110883, 56680499, 57206291, 57732851, 59768833, 60345427, 60352083, 61395251, 62973651, 67633153, 893386754, 960495618, 1682547543, 1689922072, 1713515574, 1716349149, 1731545140, 1733076167, 1736576231, 1740181637, 1747814436, 1748228205, 1748607578, 1748879564, 1749656156, 1749801286, 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, 1971461414, 1971466997, 1971628838, 1971938532, 1973040373, 1974771450, 1976348214, 1982173479, 1983002201, 1983633431, 1986140359, 1986527234, 1988486813, 1988763672, 1989812374, 1990074116, 1990969577, 1991909525, 1998724870, 1999397992, 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, 2051837468, 2055515017, 2066000646, 2068523856, 2072193862, 2083120164, 2087012585, 2091479332, 2092557349, 50908899, 50916387, 51438659, 51961587, 51965683, 52486755, 52490899, 54054451, 55104723, 55111395, 56677619, 56682579, 57205395, 57207619, 57731155, 57733651, 59244545, 59821379, 60345171, 60347747, 60351123, 60352339, 60875283, 61925907, 62450211, 62974707, 67108865, 68681729, 876609538, 910163970, 943718402, 1679960596, 1682186266, 1685703382, 1686491348, 1699324759, 1703936002, 1713736758, 1715310660, 1719741029, 1730965751, 1732069431, 1733054663, 1733372532, 1736200310, 1736576583, 1738539010, 1747048757, 1747306711, 1747838298, 1748225318, 1748346119, 1748359220, 1748621670, 1748846791, 1749272732, 1749649513, 1749673195, 1749723735, 1749813486, 1749905526, 1749932347, 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 };
staticJArray<int32_t,int32_t> nsHtml5ElementName::ELEMENT_HASHES = { ELEMENT_HASHES_DATA, MOZ_ARRAY_LENGTH(ELEMENT_HASHES_DATA) };
void
nsHtml5ElementName::initializeStatics()
@@ -824,7 +823,6 @@ nsHtml5ElementName::initializeStatics()
ELT_ARCCOT = new nsHtml5ElementName(nsHtml5Atoms::arccot, nsHtml5Atoms::arccot, NS_NewHTMLUnknownElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::OTHER);
ELT_BASEFONT = new nsHtml5ElementName(nsHtml5Atoms::basefont, nsHtml5Atoms::basefont, NS_NewHTMLElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::LINK_OR_BASEFONT_OR_BGSOUND | SPECIAL);
ELT_CARTESIANPRODUCT = new nsHtml5ElementName(nsHtml5Atoms::cartesianproduct, nsHtml5Atoms::cartesianproduct, NS_NewHTMLUnknownElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::OTHER);
- ELT_CONTENT = new nsHtml5ElementName(nsHtml5Atoms::content, nsHtml5Atoms::content, NS_NewHTMLContentElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::OTHER);
ELT_GT = new nsHtml5ElementName(nsHtml5Atoms::gt, nsHtml5Atoms::gt, NS_NewHTMLUnknownElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::OTHER);
ELT_DETERMINANT = new nsHtml5ElementName(nsHtml5Atoms::determinant, nsHtml5Atoms::determinant, NS_NewHTMLUnknownElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::OTHER);
ELT_DATALIST = new nsHtml5ElementName(nsHtml5Atoms::datalist, nsHtml5Atoms::datalist, NS_NewHTMLDataListElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::OTHER);
@@ -895,20 +893,20 @@ nsHtml5ElementName::initializeStatics()
ELT_RUBY = new nsHtml5ElementName(nsHtml5Atoms::ruby, nsHtml5Atoms::ruby, NS_NewHTMLElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::RUBY_OR_SPAN_OR_SUB_OR_SUP_OR_VAR);
ELT_SUMMARY = new nsHtml5ElementName(nsHtml5Atoms::summary, nsHtml5Atoms::summary, NS_NewHTMLSummaryElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::ADDRESS_OR_ARTICLE_OR_ASIDE_OR_DETAILS_OR_DIALOG_OR_DIR_OR_FIGCAPTION_OR_FIGURE_OR_FOOTER_OR_HEADER_OR_HGROUP_OR_MAIN_OR_NAV_OR_SECTION_OR_SUMMARY | SPECIAL);
ELT_TBODY = new nsHtml5ElementName(nsHtml5Atoms::tbody, nsHtml5Atoms::tbody, NS_NewHTMLTableSectionElement, NS_NewSVGUnknownElement, nsHtml5TreeBuilder::TBODY_OR_THEAD_OR_TFOOT | SPECIAL | FOSTER_PARENTING | OPTIONAL_END_TAG);
- ELEMENT_NAMES = new nsHtml5ElementName*[401];
+ ELEMENT_NAMES = new nsHtml5ElementName*[400];
ELEMENT_NAMES[0] = ELT_VKERN;
ELEMENT_NAMES[1] = ELT_LOGBASE;
ELEMENT_NAMES[2] = ELT_FIELDSET;
ELEMENT_NAMES[3] = ELT_DATA;
ELEMENT_NAMES[4] = ELT_LI;
- ELEMENT_NAMES[5] = ELT_COMPLEXES;
+ ELEMENT_NAMES[5] = ELT_CANVAS;
ELEMENT_NAMES[6] = ELT_QUOTIENT;
ELEMENT_NAMES[7] = ELT_PRE;
ELEMENT_NAMES[8] = ELT_ARTICLE;
ELEMENT_NAMES[9] = ELT_DIALOG;
ELEMENT_NAMES[10] = ELT_ARCTAN;
ELEMENT_NAMES[11] = ELT_LISTENER;
- ELEMENT_NAMES[12] = ELT_RATIONALS;
+ ELEMENT_NAMES[12] = ELT_REALS;
ELEMENT_NAMES[13] = ELT_MROOT;
ELEMENT_NAMES[14] = ELT_MROW;
ELEMENT_NAMES[15] = ELT_GEQ;
@@ -920,9 +918,9 @@ nsHtml5ElementName::initializeStatics()
ELEMENT_NAMES[21] = ELT_INTERVAL;
ELEMENT_NAMES[22] = ELT_MN;
ELEMENT_NAMES[23] = ELT_BR;
- ELEMENT_NAMES[24] = ELT_POWER;
- ELEMENT_NAMES[25] = ELT_MMULTISCRIPTS;
- ELEMENT_NAMES[26] = ELT_CONTENT;
+ ELEMENT_NAMES[24] = ELT_NOTANUMBER;
+ ELEMENT_NAMES[25] = ELT_MPRESCRIPTS;
+ ELEMENT_NAMES[26] = ELT_CARTESIANPRODUCT;
ELEMENT_NAMES[27] = ELT_INTERSECT;
ELEMENT_NAMES[28] = ELT_RT;
ELEMENT_NAMES[29] = ELT_SCRIPT;
@@ -945,11 +943,11 @@ nsHtml5ElementName::initializeStatics()
ELEMENT_NAMES[46] = ELT_OPTION;
ELEMENT_NAMES[47] = ELT_MALIGNGROUP;
ELEMENT_NAMES[48] = ELT_FECOMPONENTTRANSFER;
- ELEMENT_NAMES[49] = ELT_MERROR;
- ELEMENT_NAMES[50] = ELT_VECTOR;
- ELEMENT_NAMES[51] = ELT_IMPLIES;
- ELEMENT_NAMES[52] = ELT_PRIMES;
- ELEMENT_NAMES[53] = ELT_APPLET;
+ ELEMENT_NAMES[49] = ELT_MUNDEROVER;
+ ELEMENT_NAMES[50] = ELT_SELECTOR;
+ ELEMENT_NAMES[51] = ELT_EXISTS;
+ ELEMENT_NAMES[52] = ELT_NATURALNUMBERS;
+ ELEMENT_NAMES[53] = ELT_DT;
ELEMENT_NAMES[54] = ELT_EMPTYSET;
ELEMENT_NAMES[55] = ELT_FEPOINTLIGHT;
ELEMENT_NAMES[56] = ELT_LOWLIMIT;
@@ -995,16 +993,16 @@ nsHtml5ElementName::initializeStatics()
ELEMENT_NAMES[96] = ELT_OPTGROUP;
ELEMENT_NAMES[97] = ELT_CENTER;
ELEMENT_NAMES[98] = ELT_FEGAUSSIANBLUR;
- ELEMENT_NAMES[99] = ELT_MOVER;
- ELEMENT_NAMES[100] = ELT_NOBR;
- ELEMENT_NAMES[101] = ELT_SOLIDCOLOR;
- ELEMENT_NAMES[102] = ELT_ADDRESS;
- ELEMENT_NAMES[103] = ELT_DETAILS;
- ELEMENT_NAMES[104] = ELT_MS;
- ELEMENT_NAMES[105] = ELT_NOFRAMES;
- ELEMENT_NAMES[106] = ELT_PLUS;
- ELEMENT_NAMES[107] = ELT_TIMES;
- ELEMENT_NAMES[108] = ELT_BASEFONT;
+ ELEMENT_NAMES[99] = ELT_METER;
+ ELEMENT_NAMES[100] = ELT_MLABELEDTR;
+ ELEMENT_NAMES[101] = ELT_TR;
+ ELEMENT_NAMES[102] = ELT_ARCCOS;
+ ELEMENT_NAMES[103] = ELT_DEFS;
+ ELEMENT_NAMES[104] = ELT_INTEGERS;
+ ELEMENT_NAMES[105] = ELT_MINUS;
+ ELEMENT_NAMES[106] = ELT_PROGRESS;
+ ELEMENT_NAMES[107] = ELT_SEMANTICS;
+ ELEMENT_NAMES[108] = ELT_ARCCOT;
ELEMENT_NAMES[109] = ELT_DETERMINANT;
ELEMENT_NAMES[110] = ELT_FONT_FACE_FORMAT;
ELEMENT_NAMES[111] = ELT_FEOFFSET;
@@ -1096,25 +1094,25 @@ nsHtml5ElementName::initializeStatics()
ELEMENT_NAMES[197] = ELT_FOOTER;
ELEMENT_NAMES[198] = ELT_HANDLER;
ELEMENT_NAMES[199] = ELT_MARKER;
- ELEMENT_NAMES[200] = ELT_MUNDEROVER;
- ELEMENT_NAMES[201] = ELT_MLABELEDTR;
- ELEMENT_NAMES[202] = ELT_NOTANUMBER;
- ELEMENT_NAMES[203] = ELT_TR;
- ELEMENT_NAMES[204] = ELT_SELECTOR;
- ELEMENT_NAMES[205] = ELT_ARCCOS;
- ELEMENT_NAMES[206] = ELT_CANVAS;
- ELEMENT_NAMES[207] = ELT_DEFS;
- ELEMENT_NAMES[208] = ELT_EXISTS;
- ELEMENT_NAMES[209] = ELT_INTEGERS;
- ELEMENT_NAMES[210] = ELT_MPRESCRIPTS;
- ELEMENT_NAMES[211] = ELT_MINUS;
- ELEMENT_NAMES[212] = ELT_NATURALNUMBERS;
- ELEMENT_NAMES[213] = ELT_PROGRESS;
- ELEMENT_NAMES[214] = ELT_REALS;
- ELEMENT_NAMES[215] = ELT_SEMANTICS;
- ELEMENT_NAMES[216] = ELT_DT;
- ELEMENT_NAMES[217] = ELT_ARCCOT;
- ELEMENT_NAMES[218] = ELT_CARTESIANPRODUCT;
+ ELEMENT_NAMES[200] = ELT_MOVER;
+ ELEMENT_NAMES[201] = ELT_MERROR;
+ ELEMENT_NAMES[202] = ELT_NOBR;
+ ELEMENT_NAMES[203] = ELT_POWER;
+ ELEMENT_NAMES[204] = ELT_SOLIDCOLOR;
+ ELEMENT_NAMES[205] = ELT_VECTOR;
+ ELEMENT_NAMES[206] = ELT_ADDRESS;
+ ELEMENT_NAMES[207] = ELT_COMPLEXES;
+ ELEMENT_NAMES[208] = ELT_DETAILS;
+ ELEMENT_NAMES[209] = ELT_IMPLIES;
+ ELEMENT_NAMES[210] = ELT_MS;
+ ELEMENT_NAMES[211] = ELT_MMULTISCRIPTS;
+ ELEMENT_NAMES[212] = ELT_NOFRAMES;
+ ELEMENT_NAMES[213] = ELT_PRIMES;
+ ELEMENT_NAMES[214] = ELT_PLUS;
+ ELEMENT_NAMES[215] = ELT_RATIONALS;
+ ELEMENT_NAMES[216] = ELT_TIMES;
+ ELEMENT_NAMES[217] = ELT_APPLET;
+ ELEMENT_NAMES[218] = ELT_BASEFONT;
ELEMENT_NAMES[219] = ELT_GT;
ELEMENT_NAMES[220] = ELT_DATALIST;
ELEMENT_NAMES[221] = ELT_EQUIVALENT;
@@ -1296,7 +1294,6 @@ nsHtml5ElementName::initializeStatics()
ELEMENT_NAMES[397] = ELT_HEADER;
ELEMENT_NAMES[398] = ELT_OR;
ELEMENT_NAMES[399] = ELT_MUNDER;
- ELEMENT_NAMES[400] = ELT_METER;
}
void
@@ -1633,7 +1630,6 @@ nsHtml5ElementName::releaseStatics()
delete ELT_ARCCOT;
delete ELT_BASEFONT;
delete ELT_CARTESIANPRODUCT;
- delete ELT_CONTENT;
delete ELT_GT;
delete ELT_DETERMINANT;
delete ELT_DATALIST;
diff --git a/parser/html/nsHtml5ElementName.h b/parser/html/nsHtml5ElementName.h
index 022c610f4..131b9e628 100644
--- a/parser/html/nsHtml5ElementName.h
+++ b/parser/html/nsHtml5ElementName.h
@@ -539,7 +539,6 @@ class nsHtml5ElementName
static nsHtml5ElementName* ELT_ARCCOT;
static nsHtml5ElementName* ELT_BASEFONT;
static nsHtml5ElementName* ELT_CARTESIANPRODUCT;
- static nsHtml5ElementName* ELT_CONTENT;
static nsHtml5ElementName* ELT_GT;
static nsHtml5ElementName* ELT_DETERMINANT;
static nsHtml5ElementName* ELT_DATALIST;
diff --git a/parser/htmlparser/nsElementTable.cpp b/parser/htmlparser/nsElementTable.cpp
index 48fe4aede..a04282bf1 100644
--- a/parser/htmlparser/nsElementTable.cpp
+++ b/parser/htmlparser/nsElementTable.cpp
@@ -62,7 +62,6 @@ static const HTMLElement gHTMLElements[] = {
ELEM(code, ____, true)
ELEM(col, ____, ____)
ELEM(colgroup, ____, true)
- ELEM(content, ____, true)
ELEM(data, ____, true)
ELEM(datalist, ____, true)
ELEM(dd, ____, true)
diff --git a/parser/htmlparser/nsHTMLTagList.h b/parser/htmlparser/nsHTMLTagList.h
index b3bd7b0b7..6f2316ac7 100644
--- a/parser/htmlparser/nsHTMLTagList.h
+++ b/parser/htmlparser/nsHTMLTagList.h
@@ -71,7 +71,6 @@ HTML_HTMLELEMENT_TAG(cite)
HTML_HTMLELEMENT_TAG(code)
HTML_TAG(col, TableCol, TableCol)
HTML_TAG(colgroup, TableCol, TableCol)
-HTML_TAG(content, Content, Content)
HTML_TAG(data, Data, Data)
HTML_TAG(datalist, DataList, DataList)
HTML_HTMLELEMENT_TAG(dd)