Bug 1425291 - Part 2. Add autocapitalize attribute to htmlparser. r=hsivonen

Differential Revision: https://phabricator.services.mozilla.com/D86675
This commit is contained in:
Makoto Kato 2020-09-15 14:26:14 +00:00
Родитель 3759e7c3b5
Коммит c48e63ea6f
3 изменённых файлов: 561 добавлений и 551 удалений

Просмотреть файл

@ -1088,6 +1088,7 @@ public final class AttributeName
public static final AttributeName AUTOPLAY = new AttributeName(ALL_NO_NS, SAME_LOCAL("autoplay"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName AUTOCOMPLETE = new AttributeName(ALL_NO_NS, SAME_LOCAL("autocomplete"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG | CASE_FOLDED);
public static final AttributeName AUTOFOCUS = new AttributeName(ALL_NO_NS, SAME_LOCAL("autofocus"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG | CASE_FOLDED | BOOLEAN);
public static final AttributeName AUTOCAPITALIZE = new AttributeName(ALL_NO_NS, SAME_LOCAL("autocapitalize"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName BGCOLOR = new AttributeName(ALL_NO_NS, SAME_LOCAL("bgcolor"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName COLOR_PROFILE = new AttributeName(ALL_NO_NS, SAME_LOCAL("color-profile"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
public static final AttributeName COLOR_RENDERING = new AttributeName(ALL_NO_NS, SAME_LOCAL("color-rendering"), ALL_NO_PREFIX, NCNAME_HTML | NCNAME_FOREIGN | NCNAME_LANG);
@ -1275,19 +1276,19 @@ public final class AttributeName
private final static @NoLength AttributeName[] ATTRIBUTE_NAMES = {
FILL,
DATETIME,
CHARSET,
CHAROFF,
CLEAR,
IMAGESRCSET,
COLOR_INTERPOLATION_FILTERS,
LIST,
COLOR,
LETTER_SPACING,
ARIA_DISABLED,
SPECULAREXPONENT,
ONKEYUP,
DOMINANT_BASELINE,
OPEN,
STROKE_WIDTH,
MINSIZE,
RESULT,
SCROLLING,
MAXSIZE,
REQUIREDFEATURES,
Y,
ARIA_MULTISELECTABLE,
ROTATE,
@ -1298,11 +1299,11 @@ public final class AttributeName
BACKGROUND,
FROM,
XLINK_TITLE,
ONMOUSELEAVE,
SCOPED,
AS,
ENCTYPE,
TEXTLENGTH,
ONCOPY,
PROPERTY,
START,
DEPTH,
TEXT_ANCHOR,
RX,
MIN,
K3,
@ -1324,16 +1325,16 @@ public final class AttributeName
ASYNC,
POINTSATZ,
AUTOPLAY,
ONLOAD,
RQUOTE,
DISPLAYSTYLE,
TEMPLATE,
ONDRAGDROP,
CLOSURE,
SUBSCRIPTSHIFT,
FONT_FAMILY,
PATTERNUNITS,
COLUMNSPACING,
NOMODULE,
TO,
DISPLAY,
STOP_OPACITY,
ONDROP,
CURSOR,
SRCSET,
FONTFAMILY,
PATTERN,
COLUMNALIGN,
VIEWBOX,
DY,
END,
@ -1375,28 +1376,28 @@ public final class AttributeName
POINTER_EVENTS,
TRANSFORM,
XMLNS,
COLOR_PROFILE,
FLOOD_OPACITY,
ONFOCUSIN,
ONMOUSEOUT,
STROKE_LINEJOIN,
CLIP_RULE,
HTTP_EQUIV,
SHAPE,
ATTRIBUTETYPE,
ONDRAGENTER,
ONDRAGSTART,
CLASSID,
KEYSYSTEM,
ROWSPAN,
CONTROLS,
FONT_WEIGHT,
FONTSIZE,
ONSTART,
SYSTEMLANGUAGE,
ACCUMULATE,
ONSUBMIT,
VALUE,
BGCOLOR,
FLOOD_COLOR,
ONMOUSEOVER,
ONFOCUS,
STROKE_DASHOFFSET,
CLIP,
GLYPHREF,
SCOPE,
ATTRIBUTENAME,
ONDRAG,
OVERFLOW,
COLSPAN,
IS,
PRESERVEASPECTRATIO,
CONTENTEDITABLE,
FONTWEIGHT,
FILTERUNITS,
ONSTOP,
STITCHTILES,
WIDTH,
INPUTMODE,
VALUETYPE,
DX,
BY,
RY,
@ -1479,49 +1480,49 @@ public final class AttributeName
XLINK_ARCROLE,
XLINK_SHOW,
AUTOFOCUS,
COLOR_INTERPOLATION,
EXPONENT,
NUMOCTAVES,
ONMOUSEENTER,
ONZOOM,
ONMOUSEUP,
ONMOUSEDOWN,
STROKE_DASHARRAY,
STROKE,
COMPACT,
CLIPPATHUNITS,
GLYPH_ORIENTATION_HORIZONTAL,
LOOP,
SHAPE_RENDERING,
STOP_COLOR,
ABBR,
COORDS,
NOHREF,
ONDRAGEND,
OPERATOR,
STARTOFFSET,
BIAS,
COLS,
CLASS,
LOWSRC,
PRESERVEALPHA,
ROWS,
ALTTEXT,
CONTEXTMENU,
FILTER,
FONT_STYLE,
FONT_SIZE_ADJUST,
KEYTIMES,
RT,
PATTERNTRANSFORM,
RESTART,
TEXT_DECORATION,
WRITING_MODE,
COLUMNLINES,
GROUPALIGN,
REQUIRED,
VALUES,
VIEWTARGET,
COLOR_RENDERING,
ENCODING,
LQUOTE,
ONMOUSEWHEEL,
ONCONTEXTMENU,
ONMOUSEMOVE,
ONFOCUSOUT,
STROKE_LINECAP,
STROKE_MITERLIMIT,
STROKE_OPACITY,
CLIP_PATH,
GLYPH_ORIENTATION_VERTICAL,
KEYPOINTS,
STEP,
SLOPE,
WRAP,
CHAR,
NOWRAP,
ONDRAGOVER,
ONERROR,
ONDRAGLEAVE,
AXIS,
CROSSORIGIN,
CLOSE,
KEYSPLINES,
OFFSET,
ROWSPACING,
VERSION,
CONTENT,
FONT_STRETCH,
FONTSTYLE,
FONT_VARIANT,
FONT_SIZE,
MULTIPLE,
POSTER,
PATTERNCONTENTUNITS,
TEXT_RENDERING,
TEXT,
COLUMNSPAN,
COLUMNWIDTH,
ONCUT,
REQUIREDEXTENSIONS,
ELEVATION,
CX,
FX,
REFX,
@ -1685,109 +1686,110 @@ public final class AttributeName
XLINK_TYPE,
XLINK_ACTUATE,
AUTOCOMPLETE,
BGCOLOR,
COLOR_RENDERING,
COLOR,
ENCODING,
FLOOD_COLOR,
LQUOTE,
NOMODULE,
ONMOUSEWHEEL,
ONMOUSEOVER,
ONCONTEXTMENU,
ONCOPY,
ONMOUSEMOVE,
ONFOCUS,
ONFOCUSOUT,
TO,
STROKE_LINECAP,
STROKE_DASHOFFSET,
STROKE_MITERLIMIT,
SCROLLING,
STROKE_OPACITY,
CLIP,
CLIP_PATH,
DISPLAY,
GLYPH_ORIENTATION_VERTICAL,
GLYPHREF,
KEYPOINTS,
PROPERTY,
STEP,
SCOPE,
SLOPE,
STOP_OPACITY,
WRAP,
ATTRIBUTENAME,
CHAR,
CHAROFF,
NOWRAP,
ONDRAG,
ONDRAGOVER,
ONDROP,
ONERROR,
OVERFLOW,
ONDRAGLEAVE,
START,
AXIS,
COLSPAN,
CROSSORIGIN,
CURSOR,
CLOSE,
IS,
KEYSPLINES,
MAXSIZE,
OFFSET,
PRESERVEASPECTRATIO,
ROWSPACING,
SRCSET,
VERSION,
CONTENTEDITABLE,
CONTENT,
DEPTH,
FONT_STRETCH,
FONTWEIGHT,
FONTSTYLE,
FONTFAMILY,
FONT_VARIANT,
FILTERUNITS,
FONT_SIZE,
LETTER_SPACING,
MULTIPLE,
ONSTOP,
POSTER,
PATTERN,
PATTERNCONTENTUNITS,
STITCHTILES,
TEXT_RENDERING,
TEXT_ANCHOR,
TEXT,
WIDTH,
COLUMNSPAN,
COLUMNALIGN,
COLUMNWIDTH,
INPUTMODE,
ONCUT,
REQUIREDFEATURES,
REQUIREDEXTENSIONS,
VALUETYPE,
ELEVATION,
AUTOCAPITALIZE,
COLOR_PROFILE,
COLOR_INTERPOLATION,
COLOR_INTERPOLATION_FILTERS,
EXPONENT,
FLOOD_OPACITY,
NUMOCTAVES,
ONLOAD,
ONMOUSEENTER,
ONFOCUSIN,
ONZOOM,
ONMOUSELEAVE,
ONMOUSEUP,
ONMOUSEOUT,
ONMOUSEDOWN,
RQUOTE,
STROKE_DASHARRAY,
STROKE_LINEJOIN,
STROKE,
STROKE_WIDTH,
COMPACT,
CLIP_RULE,
CLIPPATHUNITS,
DISPLAYSTYLE,
GLYPH_ORIENTATION_HORIZONTAL,
HTTP_EQUIV,
LOOP,
SCOPED,
SHAPE_RENDERING,
SHAPE,
STOP_COLOR,
TEMPLATE,
ABBR,
ATTRIBUTETYPE,
COORDS,
CHARSET,
NOHREF,
ONDRAGENTER,
ONDRAGEND,
ONDRAGDROP,
OPERATOR,
ONDRAGSTART,
STARTOFFSET,
AS,
BIAS,
CLASSID,
COLS,
CLOSURE,
CLASS,
KEYSYSTEM,
LOWSRC,
MINSIZE,
PRESERVEALPHA,
ROWSPAN,
ROWS,
SUBSCRIPTSHIFT,
ALTTEXT,
CONTROLS,
CONTEXTMENU,
ENCTYPE,
FILTER,
FONT_WEIGHT,
FONT_STYLE,
FONT_FAMILY,
FONT_SIZE_ADJUST,
FONTSIZE,
KEYTIMES,
LIST,
RT,
ONSTART,
PATTERNTRANSFORM,
PATTERNUNITS,
RESTART,
SYSTEMLANGUAGE,
TEXT_DECORATION,
TEXTLENGTH,
WRITING_MODE,
ACCUMULATE,
COLUMNLINES,
COLUMNSPACING,
GROUPALIGN,
ONSUBMIT,
REQUIRED,
RESULT,
VALUES,
VALUE,
VIEWTARGET,
};
private final static int[] ATTRIBUTE_HASHES = {
1867462756,
1748971848,
1966454567,
1966442279,
1681174213,
1785053243,
1916337499,
2004957380,
1916286197,
2004846654,
1680165421,
1723336432,
1754899031,
1816104145,
1905628916,
1924738716,
1988788535,
2024763702,
1924629705,
1988784439,
2024647008,
71827457,
1680282148,
1689324870,
@ -1798,11 +1800,11 @@ public final class AttributeName
1848600826,
1884295780,
1910441627,
1922665052,
1941253366,
1980235778,
2001210183,
2009141482,
1922607670,
1939976792,
1975062341,
2000752725,
2009079867,
2073034754,
57205395,
911736834,
@ -1824,16 +1826,16 @@ public final class AttributeName
1898415413,
1906423097,
1915025672,
1922319046,
1924206934,
1933508940,
1942026440,
1972904522,
1983416119,
1991643278,
2001710299,
2007064812,
2016910397,
1921977416,
1923088386,
1933369607,
1941550652,
1972904518,
1983398182,
1991625270,
2001710298,
2007021895,
2016810187,
2060474743,
2082471938,
53006051,
@ -1875,28 +1877,28 @@ public final class AttributeName
1906408542,
1908462185,
1910503637,
1916210285,
1917953597,
1922470745,
1922679386,
1924570799,
1932986153,
1935597338,
1941438085,
1965561677,
1972744939,
1972962123,
1983266615,
1987410233,
1991021879,
2000125224,
2001634459,
2001898808,
2006516551,
2008408414,
2015950026,
2023146024,
2026975253,
1915757815,
1917857531,
1922413307,
1922677495,
1924517489,
1932959284,
1934970504,
1941435445,
1965512429,
1972656710,
1972922984,
1983157559,
1984430082,
1990107683,
2000096287,
2001634458,
2001826027,
2006459190,
2008401563,
2010716309,
2019887833,
2026893641,
2065694722,
2081423362,
2089811970,
@ -1979,49 +1981,49 @@ public final class AttributeName
1910441773,
1910527802,
1915341049,
1916278099,
1917327080,
1921894426,
1922413292,
1922567078,
1922671417,
1922699851,
1924462384,
1924585254,
1932870919,
1933145837,
1934917372,
1937777860,
1941409583,
1941454586,
1965349396,
1966439670,
1972196486,
1972863609,
1972909592,
1974849131,
1982640164,
1983347764,
1983461061,
1988132214,
1990062797,
1991392548,
1999273799,
2000162011,
2001578182,
2001669450,
2001814704,
2004199576,
2005925890,
2007019632,
2008084807,
2009071951,
2010452700,
2016787611,
2018908874,
2024616088,
2026741958,
2060302634,
1916247343,
1917295176,
1921061206,
1922400908,
1922566877,
1922665179,
1922679610,
1924443742,
1924583073,
1924773438,
1933123337,
1934917290,
1937336473,
1941286708,
1941440197,
1943317364,
1966384692,
1972151670,
1972744954,
1972908839,
1972996699,
1982254612,
1983290011,
1983432389,
1987422362,
1989522022,
1991220282,
1993343287,
2000160071,
2001527900,
2001669449,
2001732764,
2001898809,
2005342360,
2006824246,
2007064819,
2009041198,
2009231684,
2016711994,
2017010843,
2023342821,
2024794274,
2034765641,
2065170434,
2066743298,
2075005220,
@ -2185,91 +2187,92 @@ public final class AttributeName
1910507338,
1910572893,
1915295948,
1915757815,
1916247343,
1916286197,
1917295176,
1917857531,
1921061206,
1921977416,
1922400908,
1922413307,
1922566877,
1922607670,
1922665179,
1922677495,
1922679610,
1923088386,
1924443742,
1924517489,
1924583073,
1924629705,
1924773438,
1932959284,
1933123337,
1933369607,
1934917290,
1934970504,
1937336473,
1939976792,
1941286708,
1941435445,
1941440197,
1941550652,
1943317364,
1965512429,
1966384692,
1966442279,
1972151670,
1972656710,
1972744954,
1972904518,
1972908839,
1972922984,
1972996699,
1975062341,
1982254612,
1983157559,
1983290011,
1983398182,
1983432389,
1984430082,
1987422362,
1988784439,
1989522022,
1990107683,
1991220282,
1991625270,
1993343287,
2000096287,
2000160071,
2000752725,
2001527900,
2001634458,
2001669449,
2001710298,
2001732764,
2001826027,
2001898809,
2004846654,
2005342360,
2006459190,
2006824246,
2007021895,
2007064819,
2008401563,
2009041198,
2009079867,
2009231684,
2010716309,
2016711994,
2016810187,
2017010843,
2019887833,
2023342821,
2024647008,
2024794274,
2026893641,
2034765641,
1915394254,
1916210285,
1916278099,
1916337499,
1917327080,
1917953597,
1921894426,
1922319046,
1922413292,
1922470745,
1922567078,
1922665052,
1922671417,
1922679386,
1922699851,
1924206934,
1924462384,
1924570799,
1924585254,
1924738716,
1932870919,
1932986153,
1933145837,
1933508940,
1934917372,
1935597338,
1937777860,
1941253366,
1941409583,
1941438085,
1941454586,
1942026440,
1965349396,
1965561677,
1966439670,
1966454567,
1972196486,
1972744939,
1972863609,
1972904522,
1972909592,
1972962123,
1974849131,
1980235778,
1982640164,
1983266615,
1983347764,
1983416119,
1983461061,
1987410233,
1988132214,
1988788535,
1990062797,
1991021879,
1991392548,
1991643278,
1999273799,
2000125224,
2000162011,
2001210183,
2001578182,
2001634459,
2001669450,
2001710299,
2001814704,
2001898808,
2004199576,
2004957380,
2005925890,
2006516551,
2007019632,
2007064812,
2008084807,
2008408414,
2009071951,
2009141482,
2010452700,
2015950026,
2016787611,
2016910397,
2018908874,
2023146024,
2024616088,
2024763702,
2026741958,
2026975253,
2060302634,
};
}

Просмотреть файл

@ -450,6 +450,7 @@ nsHtml5AttributeName* nsHtml5AttributeName::ATTR_XLINK_ACTUATE = nullptr;
nsHtml5AttributeName* nsHtml5AttributeName::ATTR_AUTOPLAY = nullptr;
nsHtml5AttributeName* nsHtml5AttributeName::ATTR_AUTOCOMPLETE = nullptr;
nsHtml5AttributeName* nsHtml5AttributeName::ATTR_AUTOFOCUS = nullptr;
nsHtml5AttributeName* nsHtml5AttributeName::ATTR_AUTOCAPITALIZE = nullptr;
nsHtml5AttributeName* nsHtml5AttributeName::ATTR_BGCOLOR = nullptr;
nsHtml5AttributeName* nsHtml5AttributeName::ATTR_COLOR_PROFILE = nullptr;
nsHtml5AttributeName* nsHtml5AttributeName::ATTR_COLOR_RENDERING = nullptr;
@ -639,27 +640,27 @@ nsHtml5AttributeName* nsHtml5AttributeName::ATTR_RY = nullptr;
nsHtml5AttributeName* nsHtml5AttributeName::ATTR_REFY = nullptr;
nsHtml5AttributeName** nsHtml5AttributeName::ATTRIBUTE_NAMES = 0;
static int32_t const ATTRIBUTE_HASHES_DATA[] = {
1867462756, 1748971848, 1966454567, 1681174213, 1785053243, 1916337499,
2004957380, 1680165421, 1723336432, 1754899031, 1816104145, 1905628916,
1924738716, 1988788535, 2024763702, 71827457, 1680282148, 1689324870,
1867462756, 1748971848, 1966442279, 1681174213, 1785053243, 1916286197,
2004846654, 1680165421, 1723336432, 1754899031, 1816104145, 1905628916,
1924629705, 1988784439, 2024647008, 71827457, 1680282148, 1689324870,
1747295467, 1754579720, 1756889417, 1803561214, 1848600826, 1884295780,
1910441627, 1922665052, 1941253366, 1980235778, 2001210183, 2009141482,
1910441627, 1922607670, 1939976792, 1975062341, 2000752725, 2009079867,
2073034754, 57205395, 911736834, 1680181996, 1680368221, 1685882101,
1704526375, 1736416327, 1747906667, 1751755561, 1754698327, 1756360955,
1773606972, 1787365531, 1805715690, 1823574314, 1854497001, 1874270021,
1898415413, 1906423097, 1915025672, 1922319046, 1924206934, 1933508940,
1942026440, 1972904522, 1983416119, 1991643278, 2001710299, 2007064812,
2016910397, 2060474743, 2082471938, 53006051, 60345635, 885522434,
1898415413, 1906423097, 1915025672, 1921977416, 1923088386, 1933369607,
1941550652, 1972904518, 1983398182, 1991625270, 2001710298, 2007021895,
2016810187, 2060474743, 2082471938, 53006051, 60345635, 885522434,
1680095865, 1680165533, 1680229115, 1680343801, 1680437801, 1682440540,
1687620127, 1692408896, 1721189160, 1733874289, 1740096054, 1747479606,
1748503880, 1749549708, 1753550036, 1754644293, 1754835516, 1756147974,
1756762256, 1767725700, 1781007934, 1786775671, 1791068279, 1804081401,
1814560070, 1820727381, 1824159037, 1854366938, 1865910331, 1872343590,
1884079398, 1890996553, 1903612236, 1906408542, 1908462185, 1910503637,
1916210285, 1917953597, 1922470745, 1922679386, 1924570799, 1932986153,
1935597338, 1941438085, 1965561677, 1972744939, 1972962123, 1983266615,
1987410233, 1991021879, 2000125224, 2001634459, 2001898808, 2006516551,
2008408414, 2015950026, 2023146024, 2026975253, 2065694722, 2081423362,
1915757815, 1917857531, 1922413307, 1922677495, 1924517489, 1932959284,
1934970504, 1941435445, 1965512429, 1972656710, 1972922984, 1983157559,
1984430082, 1990107683, 2000096287, 2001634458, 2001826027, 2006459190,
2008401563, 2010716309, 2019887833, 2026893641, 2065694722, 2081423362,
2089811970, 52488851, 55077603, 59825747, 68157441, 878182402,
901775362, 1037879561, 1680159327, 1680165437, 1680165692, 1680198203,
1680231247, 1680315086, 1680345965, 1680413393, 1680452349, 1681879063,
@ -673,14 +674,14 @@ static int32_t const ATTRIBUTE_HASHES_DATA[] = {
1825437894, 1854285018, 1854466380, 1854497008, 1866496199, 1871251689,
1873656984, 1874788501, 1884246821, 1889569526, 1891937366, 1900544002,
1903759600, 1905754853, 1906419001, 1907701479, 1909819252, 1910441773,
1910527802, 1915341049, 1916278099, 1917327080, 1921894426, 1922413292,
1922567078, 1922671417, 1922699851, 1924462384, 1924585254, 1932870919,
1933145837, 1934917372, 1937777860, 1941409583, 1941454586, 1965349396,
1966439670, 1972196486, 1972863609, 1972909592, 1974849131, 1982640164,
1983347764, 1983461061, 1988132214, 1990062797, 1991392548, 1999273799,
2000162011, 2001578182, 2001669450, 2001814704, 2004199576, 2005925890,
2007019632, 2008084807, 2009071951, 2010452700, 2016787611, 2018908874,
2024616088, 2026741958, 2060302634, 2065170434, 2066743298, 2075005220,
1910527802, 1915341049, 1916247343, 1917295176, 1921061206, 1922400908,
1922566877, 1922665179, 1922679610, 1924443742, 1924583073, 1924773438,
1933123337, 1934917290, 1937336473, 1941286708, 1941440197, 1943317364,
1966384692, 1972151670, 1972744954, 1972908839, 1972996699, 1982254612,
1983290011, 1983432389, 1987422362, 1989522022, 1991220282, 1993343287,
2000160071, 2001527900, 2001669449, 2001732764, 2001898809, 2005342360,
2006824246, 2007064819, 2009041198, 2009231684, 2016711994, 2017010843,
2023342821, 2024794274, 2034765641, 2065170434, 2066743298, 2075005220,
2081947650, 2083520514, 2091784484, 50917059, 52489043, 53537523,
56685811, 57210387, 59830867, 60817409, 71303169, 72351745,
884998146, 894959618, 902299650, 928514050, 1038063816, 1680140893,
@ -707,21 +708,22 @@ static int32_t const ATTRIBUTE_HASHES_DATA[] = {
1884267068, 1884343396, 1889633006, 1891186903, 1894552650, 1898428101,
1902640276, 1903659239, 1905541832, 1905672729, 1905902311, 1906408598,
1906421049, 1907660596, 1908316832, 1909438149, 1910328970, 1910441770,
1910487243, 1910507338, 1910572893, 1915295948, 1915757815, 1916247343,
1916286197, 1917295176, 1917857531, 1921061206, 1921977416, 1922400908,
1922413307, 1922566877, 1922607670, 1922665179, 1922677495, 1922679610,
1923088386, 1924443742, 1924517489, 1924583073, 1924629705, 1924773438,
1932959284, 1933123337, 1933369607, 1934917290, 1934970504, 1937336473,
1939976792, 1941286708, 1941435445, 1941440197, 1941550652, 1943317364,
1965512429, 1966384692, 1966442279, 1972151670, 1972656710, 1972744954,
1972904518, 1972908839, 1972922984, 1972996699, 1975062341, 1982254612,
1983157559, 1983290011, 1983398182, 1983432389, 1984430082, 1987422362,
1988784439, 1989522022, 1990107683, 1991220282, 1991625270, 1993343287,
2000096287, 2000160071, 2000752725, 2001527900, 2001634458, 2001669449,
2001710298, 2001732764, 2001826027, 2001898809, 2004846654, 2005342360,
2006459190, 2006824246, 2007021895, 2007064819, 2008401563, 2009041198,
2009079867, 2009231684, 2010716309, 2016711994, 2016810187, 2017010843,
2019887833, 2023342821, 2024647008, 2024794274, 2026893641, 2034765641};
1910487243, 1910507338, 1910572893, 1915295948, 1915394254, 1916210285,
1916278099, 1916337499, 1917327080, 1917953597, 1921894426, 1922319046,
1922413292, 1922470745, 1922567078, 1922665052, 1922671417, 1922679386,
1922699851, 1924206934, 1924462384, 1924570799, 1924585254, 1924738716,
1932870919, 1932986153, 1933145837, 1933508940, 1934917372, 1935597338,
1937777860, 1941253366, 1941409583, 1941438085, 1941454586, 1942026440,
1965349396, 1965561677, 1966439670, 1966454567, 1972196486, 1972744939,
1972863609, 1972904522, 1972909592, 1972962123, 1974849131, 1980235778,
1982640164, 1983266615, 1983347764, 1983416119, 1983461061, 1987410233,
1988132214, 1988788535, 1990062797, 1991021879, 1991392548, 1991643278,
1999273799, 2000125224, 2000162011, 2001210183, 2001578182, 2001634459,
2001669450, 2001710299, 2001814704, 2001898808, 2004199576, 2004957380,
2005925890, 2006516551, 2007019632, 2007064812, 2008084807, 2008408414,
2009071951, 2009141482, 2010452700, 2015950026, 2016787611, 2016910397,
2018908874, 2023146024, 2024616088, 2024763702, 2026741958, 2026975253,
2060302634};
staticJArray<int32_t, int32_t> nsHtml5AttributeName::ATTRIBUTE_HASHES = {
ATTRIBUTE_HASHES_DATA, MOZ_ARRAY_LENGTH(ATTRIBUTE_HASHES_DATA)};
void nsHtml5AttributeName::initializeStatics() {
@ -1449,6 +1451,8 @@ void nsHtml5AttributeName::initializeStatics() {
ALL_NO_NS, SAME_LOCAL(nsGkAtoms::autocomplete), ALL_NO_PREFIX);
ATTR_AUTOFOCUS = new nsHtml5AttributeName(
ALL_NO_NS, SAME_LOCAL(nsGkAtoms::autofocus), ALL_NO_PREFIX);
ATTR_AUTOCAPITALIZE = new nsHtml5AttributeName(
ALL_NO_NS, SAME_LOCAL(nsGkAtoms::autocapitalize), ALL_NO_PREFIX);
ATTR_BGCOLOR = new nsHtml5AttributeName(
ALL_NO_NS, SAME_LOCAL(nsGkAtoms::bgcolor), ALL_NO_PREFIX);
ATTR_COLOR_PROFILE = new nsHtml5AttributeName(
@ -1858,22 +1862,22 @@ void nsHtml5AttributeName::initializeStatics() {
ATTR_REFY = new nsHtml5AttributeName(
ALL_NO_NS, SVG_DIFFERENT(nsGkAtoms::refy, nsGkAtoms::refY),
ALL_NO_PREFIX);
ATTRIBUTE_NAMES = new nsHtml5AttributeName*[498];
ATTRIBUTE_NAMES = new nsHtml5AttributeName*[499];
ATTRIBUTE_NAMES[0] = ATTR_FILL;
ATTRIBUTE_NAMES[1] = ATTR_DATETIME;
ATTRIBUTE_NAMES[2] = ATTR_CHARSET;
ATTRIBUTE_NAMES[2] = ATTR_CHAROFF;
ATTRIBUTE_NAMES[3] = ATTR_CLEAR;
ATTRIBUTE_NAMES[4] = ATTR_IMAGESRCSET;
ATTRIBUTE_NAMES[5] = ATTR_COLOR_INTERPOLATION_FILTERS;
ATTRIBUTE_NAMES[6] = ATTR_LIST;
ATTRIBUTE_NAMES[5] = ATTR_COLOR;
ATTRIBUTE_NAMES[6] = ATTR_LETTER_SPACING;
ATTRIBUTE_NAMES[7] = ATTR_ARIA_DISABLED;
ATTRIBUTE_NAMES[8] = ATTR_SPECULAREXPONENT;
ATTRIBUTE_NAMES[9] = ATTR_ONKEYUP;
ATTRIBUTE_NAMES[10] = ATTR_DOMINANT_BASELINE;
ATTRIBUTE_NAMES[11] = ATTR_OPEN;
ATTRIBUTE_NAMES[12] = ATTR_STROKE_WIDTH;
ATTRIBUTE_NAMES[13] = ATTR_MINSIZE;
ATTRIBUTE_NAMES[14] = ATTR_RESULT;
ATTRIBUTE_NAMES[12] = ATTR_SCROLLING;
ATTRIBUTE_NAMES[13] = ATTR_MAXSIZE;
ATTRIBUTE_NAMES[14] = ATTR_REQUIREDFEATURES;
ATTRIBUTE_NAMES[15] = ATTR_Y;
ATTRIBUTE_NAMES[16] = ATTR_ARIA_MULTISELECTABLE;
ATTRIBUTE_NAMES[17] = ATTR_ROTATE;
@ -1884,11 +1888,11 @@ void nsHtml5AttributeName::initializeStatics() {
ATTRIBUTE_NAMES[22] = ATTR_BACKGROUND;
ATTRIBUTE_NAMES[23] = ATTR_FROM;
ATTRIBUTE_NAMES[24] = ATTR_XLINK_TITLE;
ATTRIBUTE_NAMES[25] = ATTR_ONMOUSELEAVE;
ATTRIBUTE_NAMES[26] = ATTR_SCOPED;
ATTRIBUTE_NAMES[27] = ATTR_AS;
ATTRIBUTE_NAMES[28] = ATTR_ENCTYPE;
ATTRIBUTE_NAMES[29] = ATTR_TEXTLENGTH;
ATTRIBUTE_NAMES[25] = ATTR_ONCOPY;
ATTRIBUTE_NAMES[26] = ATTR_PROPERTY;
ATTRIBUTE_NAMES[27] = ATTR_START;
ATTRIBUTE_NAMES[28] = ATTR_DEPTH;
ATTRIBUTE_NAMES[29] = ATTR_TEXT_ANCHOR;
ATTRIBUTE_NAMES[30] = ATTR_RX;
ATTRIBUTE_NAMES[31] = ATTR_MIN;
ATTRIBUTE_NAMES[32] = ATTR_K3;
@ -1910,16 +1914,16 @@ void nsHtml5AttributeName::initializeStatics() {
ATTRIBUTE_NAMES[48] = ATTR_ASYNC;
ATTRIBUTE_NAMES[49] = ATTR_POINTSATZ;
ATTRIBUTE_NAMES[50] = ATTR_AUTOPLAY;
ATTRIBUTE_NAMES[51] = ATTR_ONLOAD;
ATTRIBUTE_NAMES[52] = ATTR_RQUOTE;
ATTRIBUTE_NAMES[53] = ATTR_DISPLAYSTYLE;
ATTRIBUTE_NAMES[54] = ATTR_TEMPLATE;
ATTRIBUTE_NAMES[55] = ATTR_ONDRAGDROP;
ATTRIBUTE_NAMES[56] = ATTR_CLOSURE;
ATTRIBUTE_NAMES[57] = ATTR_SUBSCRIPTSHIFT;
ATTRIBUTE_NAMES[58] = ATTR_FONT_FAMILY;
ATTRIBUTE_NAMES[59] = ATTR_PATTERNUNITS;
ATTRIBUTE_NAMES[60] = ATTR_COLUMNSPACING;
ATTRIBUTE_NAMES[51] = ATTR_NOMODULE;
ATTRIBUTE_NAMES[52] = ATTR_TO;
ATTRIBUTE_NAMES[53] = ATTR_DISPLAY;
ATTRIBUTE_NAMES[54] = ATTR_STOP_OPACITY;
ATTRIBUTE_NAMES[55] = ATTR_ONDROP;
ATTRIBUTE_NAMES[56] = ATTR_CURSOR;
ATTRIBUTE_NAMES[57] = ATTR_SRCSET;
ATTRIBUTE_NAMES[58] = ATTR_FONTFAMILY;
ATTRIBUTE_NAMES[59] = ATTR_PATTERN;
ATTRIBUTE_NAMES[60] = ATTR_COLUMNALIGN;
ATTRIBUTE_NAMES[61] = ATTR_VIEWBOX;
ATTRIBUTE_NAMES[62] = ATTR_DY;
ATTRIBUTE_NAMES[63] = ATTR_END;
@ -1961,28 +1965,28 @@ void nsHtml5AttributeName::initializeStatics() {
ATTRIBUTE_NAMES[99] = ATTR_POINTER_EVENTS;
ATTRIBUTE_NAMES[100] = ATTR_TRANSFORM;
ATTRIBUTE_NAMES[101] = ATTR_XMLNS;
ATTRIBUTE_NAMES[102] = ATTR_COLOR_PROFILE;
ATTRIBUTE_NAMES[103] = ATTR_FLOOD_OPACITY;
ATTRIBUTE_NAMES[104] = ATTR_ONFOCUSIN;
ATTRIBUTE_NAMES[105] = ATTR_ONMOUSEOUT;
ATTRIBUTE_NAMES[106] = ATTR_STROKE_LINEJOIN;
ATTRIBUTE_NAMES[107] = ATTR_CLIP_RULE;
ATTRIBUTE_NAMES[108] = ATTR_HTTP_EQUIV;
ATTRIBUTE_NAMES[109] = ATTR_SHAPE;
ATTRIBUTE_NAMES[110] = ATTR_ATTRIBUTETYPE;
ATTRIBUTE_NAMES[111] = ATTR_ONDRAGENTER;
ATTRIBUTE_NAMES[112] = ATTR_ONDRAGSTART;
ATTRIBUTE_NAMES[113] = ATTR_CLASSID;
ATTRIBUTE_NAMES[114] = ATTR_KEYSYSTEM;
ATTRIBUTE_NAMES[115] = ATTR_ROWSPAN;
ATTRIBUTE_NAMES[116] = ATTR_CONTROLS;
ATTRIBUTE_NAMES[117] = ATTR_FONT_WEIGHT;
ATTRIBUTE_NAMES[118] = ATTR_FONTSIZE;
ATTRIBUTE_NAMES[119] = ATTR_ONSTART;
ATTRIBUTE_NAMES[120] = ATTR_SYSTEMLANGUAGE;
ATTRIBUTE_NAMES[121] = ATTR_ACCUMULATE;
ATTRIBUTE_NAMES[122] = ATTR_ONSUBMIT;
ATTRIBUTE_NAMES[123] = ATTR_VALUE;
ATTRIBUTE_NAMES[102] = ATTR_BGCOLOR;
ATTRIBUTE_NAMES[103] = ATTR_FLOOD_COLOR;
ATTRIBUTE_NAMES[104] = ATTR_ONMOUSEOVER;
ATTRIBUTE_NAMES[105] = ATTR_ONFOCUS;
ATTRIBUTE_NAMES[106] = ATTR_STROKE_DASHOFFSET;
ATTRIBUTE_NAMES[107] = ATTR_CLIP;
ATTRIBUTE_NAMES[108] = ATTR_GLYPHREF;
ATTRIBUTE_NAMES[109] = ATTR_SCOPE;
ATTRIBUTE_NAMES[110] = ATTR_ATTRIBUTENAME;
ATTRIBUTE_NAMES[111] = ATTR_ONDRAG;
ATTRIBUTE_NAMES[112] = ATTR_OVERFLOW;
ATTRIBUTE_NAMES[113] = ATTR_COLSPAN;
ATTRIBUTE_NAMES[114] = ATTR_IS;
ATTRIBUTE_NAMES[115] = ATTR_PRESERVEASPECTRATIO;
ATTRIBUTE_NAMES[116] = ATTR_CONTENTEDITABLE;
ATTRIBUTE_NAMES[117] = ATTR_FONTWEIGHT;
ATTRIBUTE_NAMES[118] = ATTR_FILTERUNITS;
ATTRIBUTE_NAMES[119] = ATTR_ONSTOP;
ATTRIBUTE_NAMES[120] = ATTR_STITCHTILES;
ATTRIBUTE_NAMES[121] = ATTR_WIDTH;
ATTRIBUTE_NAMES[122] = ATTR_INPUTMODE;
ATTRIBUTE_NAMES[123] = ATTR_VALUETYPE;
ATTRIBUTE_NAMES[124] = ATTR_DX;
ATTRIBUTE_NAMES[125] = ATTR_BY;
ATTRIBUTE_NAMES[126] = ATTR_RY;
@ -2065,49 +2069,49 @@ void nsHtml5AttributeName::initializeStatics() {
ATTRIBUTE_NAMES[203] = ATTR_XLINK_ARCROLE;
ATTRIBUTE_NAMES[204] = ATTR_XLINK_SHOW;
ATTRIBUTE_NAMES[205] = ATTR_AUTOFOCUS;
ATTRIBUTE_NAMES[206] = ATTR_COLOR_INTERPOLATION;
ATTRIBUTE_NAMES[207] = ATTR_EXPONENT;
ATTRIBUTE_NAMES[208] = ATTR_NUMOCTAVES;
ATTRIBUTE_NAMES[209] = ATTR_ONMOUSEENTER;
ATTRIBUTE_NAMES[210] = ATTR_ONZOOM;
ATTRIBUTE_NAMES[211] = ATTR_ONMOUSEUP;
ATTRIBUTE_NAMES[212] = ATTR_ONMOUSEDOWN;
ATTRIBUTE_NAMES[213] = ATTR_STROKE_DASHARRAY;
ATTRIBUTE_NAMES[214] = ATTR_STROKE;
ATTRIBUTE_NAMES[215] = ATTR_COMPACT;
ATTRIBUTE_NAMES[216] = ATTR_CLIPPATHUNITS;
ATTRIBUTE_NAMES[217] = ATTR_GLYPH_ORIENTATION_HORIZONTAL;
ATTRIBUTE_NAMES[218] = ATTR_LOOP;
ATTRIBUTE_NAMES[219] = ATTR_SHAPE_RENDERING;
ATTRIBUTE_NAMES[220] = ATTR_STOP_COLOR;
ATTRIBUTE_NAMES[221] = ATTR_ABBR;
ATTRIBUTE_NAMES[222] = ATTR_COORDS;
ATTRIBUTE_NAMES[223] = ATTR_NOHREF;
ATTRIBUTE_NAMES[224] = ATTR_ONDRAGEND;
ATTRIBUTE_NAMES[225] = ATTR_OPERATOR;
ATTRIBUTE_NAMES[226] = ATTR_STARTOFFSET;
ATTRIBUTE_NAMES[227] = ATTR_BIAS;
ATTRIBUTE_NAMES[228] = ATTR_COLS;
ATTRIBUTE_NAMES[229] = ATTR_CLASS;
ATTRIBUTE_NAMES[230] = ATTR_LOWSRC;
ATTRIBUTE_NAMES[231] = ATTR_PRESERVEALPHA;
ATTRIBUTE_NAMES[232] = ATTR_ROWS;
ATTRIBUTE_NAMES[233] = ATTR_ALTTEXT;
ATTRIBUTE_NAMES[234] = ATTR_CONTEXTMENU;
ATTRIBUTE_NAMES[235] = ATTR_FILTER;
ATTRIBUTE_NAMES[236] = ATTR_FONT_STYLE;
ATTRIBUTE_NAMES[237] = ATTR_FONT_SIZE_ADJUST;
ATTRIBUTE_NAMES[238] = ATTR_KEYTIMES;
ATTRIBUTE_NAMES[239] = ATTR_RT;
ATTRIBUTE_NAMES[240] = ATTR_PATTERNTRANSFORM;
ATTRIBUTE_NAMES[241] = ATTR_RESTART;
ATTRIBUTE_NAMES[242] = ATTR_TEXT_DECORATION;
ATTRIBUTE_NAMES[243] = ATTR_WRITING_MODE;
ATTRIBUTE_NAMES[244] = ATTR_COLUMNLINES;
ATTRIBUTE_NAMES[245] = ATTR_GROUPALIGN;
ATTRIBUTE_NAMES[246] = ATTR_REQUIRED;
ATTRIBUTE_NAMES[247] = ATTR_VALUES;
ATTRIBUTE_NAMES[248] = ATTR_VIEWTARGET;
ATTRIBUTE_NAMES[206] = ATTR_COLOR_RENDERING;
ATTRIBUTE_NAMES[207] = ATTR_ENCODING;
ATTRIBUTE_NAMES[208] = ATTR_LQUOTE;
ATTRIBUTE_NAMES[209] = ATTR_ONMOUSEWHEEL;
ATTRIBUTE_NAMES[210] = ATTR_ONCONTEXTMENU;
ATTRIBUTE_NAMES[211] = ATTR_ONMOUSEMOVE;
ATTRIBUTE_NAMES[212] = ATTR_ONFOCUSOUT;
ATTRIBUTE_NAMES[213] = ATTR_STROKE_LINECAP;
ATTRIBUTE_NAMES[214] = ATTR_STROKE_MITERLIMIT;
ATTRIBUTE_NAMES[215] = ATTR_STROKE_OPACITY;
ATTRIBUTE_NAMES[216] = ATTR_CLIP_PATH;
ATTRIBUTE_NAMES[217] = ATTR_GLYPH_ORIENTATION_VERTICAL;
ATTRIBUTE_NAMES[218] = ATTR_KEYPOINTS;
ATTRIBUTE_NAMES[219] = ATTR_STEP;
ATTRIBUTE_NAMES[220] = ATTR_SLOPE;
ATTRIBUTE_NAMES[221] = ATTR_WRAP;
ATTRIBUTE_NAMES[222] = ATTR_CHAR;
ATTRIBUTE_NAMES[223] = ATTR_NOWRAP;
ATTRIBUTE_NAMES[224] = ATTR_ONDRAGOVER;
ATTRIBUTE_NAMES[225] = ATTR_ONERROR;
ATTRIBUTE_NAMES[226] = ATTR_ONDRAGLEAVE;
ATTRIBUTE_NAMES[227] = ATTR_AXIS;
ATTRIBUTE_NAMES[228] = ATTR_CROSSORIGIN;
ATTRIBUTE_NAMES[229] = ATTR_CLOSE;
ATTRIBUTE_NAMES[230] = ATTR_KEYSPLINES;
ATTRIBUTE_NAMES[231] = ATTR_OFFSET;
ATTRIBUTE_NAMES[232] = ATTR_ROWSPACING;
ATTRIBUTE_NAMES[233] = ATTR_VERSION;
ATTRIBUTE_NAMES[234] = ATTR_CONTENT;
ATTRIBUTE_NAMES[235] = ATTR_FONT_STRETCH;
ATTRIBUTE_NAMES[236] = ATTR_FONTSTYLE;
ATTRIBUTE_NAMES[237] = ATTR_FONT_VARIANT;
ATTRIBUTE_NAMES[238] = ATTR_FONT_SIZE;
ATTRIBUTE_NAMES[239] = ATTR_MULTIPLE;
ATTRIBUTE_NAMES[240] = ATTR_POSTER;
ATTRIBUTE_NAMES[241] = ATTR_PATTERNCONTENTUNITS;
ATTRIBUTE_NAMES[242] = ATTR_TEXT_RENDERING;
ATTRIBUTE_NAMES[243] = ATTR_TEXT;
ATTRIBUTE_NAMES[244] = ATTR_COLUMNSPAN;
ATTRIBUTE_NAMES[245] = ATTR_COLUMNWIDTH;
ATTRIBUTE_NAMES[246] = ATTR_ONCUT;
ATTRIBUTE_NAMES[247] = ATTR_REQUIREDEXTENSIONS;
ATTRIBUTE_NAMES[248] = ATTR_ELEVATION;
ATTRIBUTE_NAMES[249] = ATTR_CX;
ATTRIBUTE_NAMES[250] = ATTR_FX;
ATTRIBUTE_NAMES[251] = ATTR_REFX;
@ -2271,92 +2275,93 @@ void nsHtml5AttributeName::initializeStatics() {
ATTRIBUTE_NAMES[409] = ATTR_XLINK_TYPE;
ATTRIBUTE_NAMES[410] = ATTR_XLINK_ACTUATE;
ATTRIBUTE_NAMES[411] = ATTR_AUTOCOMPLETE;
ATTRIBUTE_NAMES[412] = ATTR_BGCOLOR;
ATTRIBUTE_NAMES[413] = ATTR_COLOR_RENDERING;
ATTRIBUTE_NAMES[414] = ATTR_COLOR;
ATTRIBUTE_NAMES[415] = ATTR_ENCODING;
ATTRIBUTE_NAMES[416] = ATTR_FLOOD_COLOR;
ATTRIBUTE_NAMES[417] = ATTR_LQUOTE;
ATTRIBUTE_NAMES[418] = ATTR_NOMODULE;
ATTRIBUTE_NAMES[419] = ATTR_ONMOUSEWHEEL;
ATTRIBUTE_NAMES[420] = ATTR_ONMOUSEOVER;
ATTRIBUTE_NAMES[421] = ATTR_ONCONTEXTMENU;
ATTRIBUTE_NAMES[422] = ATTR_ONCOPY;
ATTRIBUTE_NAMES[423] = ATTR_ONMOUSEMOVE;
ATTRIBUTE_NAMES[424] = ATTR_ONFOCUS;
ATTRIBUTE_NAMES[425] = ATTR_ONFOCUSOUT;
ATTRIBUTE_NAMES[426] = ATTR_TO;
ATTRIBUTE_NAMES[427] = ATTR_STROKE_LINECAP;
ATTRIBUTE_NAMES[428] = ATTR_STROKE_DASHOFFSET;
ATTRIBUTE_NAMES[429] = ATTR_STROKE_MITERLIMIT;
ATTRIBUTE_NAMES[430] = ATTR_SCROLLING;
ATTRIBUTE_NAMES[431] = ATTR_STROKE_OPACITY;
ATTRIBUTE_NAMES[432] = ATTR_CLIP;
ATTRIBUTE_NAMES[433] = ATTR_CLIP_PATH;
ATTRIBUTE_NAMES[434] = ATTR_DISPLAY;
ATTRIBUTE_NAMES[435] = ATTR_GLYPH_ORIENTATION_VERTICAL;
ATTRIBUTE_NAMES[436] = ATTR_GLYPHREF;
ATTRIBUTE_NAMES[437] = ATTR_KEYPOINTS;
ATTRIBUTE_NAMES[438] = ATTR_PROPERTY;
ATTRIBUTE_NAMES[439] = ATTR_STEP;
ATTRIBUTE_NAMES[440] = ATTR_SCOPE;
ATTRIBUTE_NAMES[441] = ATTR_SLOPE;
ATTRIBUTE_NAMES[442] = ATTR_STOP_OPACITY;
ATTRIBUTE_NAMES[443] = ATTR_WRAP;
ATTRIBUTE_NAMES[444] = ATTR_ATTRIBUTENAME;
ATTRIBUTE_NAMES[445] = ATTR_CHAR;
ATTRIBUTE_NAMES[446] = ATTR_CHAROFF;
ATTRIBUTE_NAMES[447] = ATTR_NOWRAP;
ATTRIBUTE_NAMES[448] = ATTR_ONDRAG;
ATTRIBUTE_NAMES[449] = ATTR_ONDRAGOVER;
ATTRIBUTE_NAMES[450] = ATTR_ONDROP;
ATTRIBUTE_NAMES[451] = ATTR_ONERROR;
ATTRIBUTE_NAMES[452] = ATTR_OVERFLOW;
ATTRIBUTE_NAMES[453] = ATTR_ONDRAGLEAVE;
ATTRIBUTE_NAMES[454] = ATTR_START;
ATTRIBUTE_NAMES[455] = ATTR_AXIS;
ATTRIBUTE_NAMES[456] = ATTR_COLSPAN;
ATTRIBUTE_NAMES[457] = ATTR_CROSSORIGIN;
ATTRIBUTE_NAMES[458] = ATTR_CURSOR;
ATTRIBUTE_NAMES[459] = ATTR_CLOSE;
ATTRIBUTE_NAMES[460] = ATTR_IS;
ATTRIBUTE_NAMES[461] = ATTR_KEYSPLINES;
ATTRIBUTE_NAMES[462] = ATTR_MAXSIZE;
ATTRIBUTE_NAMES[463] = ATTR_OFFSET;
ATTRIBUTE_NAMES[464] = ATTR_PRESERVEASPECTRATIO;
ATTRIBUTE_NAMES[465] = ATTR_ROWSPACING;
ATTRIBUTE_NAMES[466] = ATTR_SRCSET;
ATTRIBUTE_NAMES[467] = ATTR_VERSION;
ATTRIBUTE_NAMES[468] = ATTR_CONTENTEDITABLE;
ATTRIBUTE_NAMES[469] = ATTR_CONTENT;
ATTRIBUTE_NAMES[470] = ATTR_DEPTH;
ATTRIBUTE_NAMES[471] = ATTR_FONT_STRETCH;
ATTRIBUTE_NAMES[472] = ATTR_FONTWEIGHT;
ATTRIBUTE_NAMES[473] = ATTR_FONTSTYLE;
ATTRIBUTE_NAMES[474] = ATTR_FONTFAMILY;
ATTRIBUTE_NAMES[475] = ATTR_FONT_VARIANT;
ATTRIBUTE_NAMES[476] = ATTR_FILTERUNITS;
ATTRIBUTE_NAMES[477] = ATTR_FONT_SIZE;
ATTRIBUTE_NAMES[478] = ATTR_LETTER_SPACING;
ATTRIBUTE_NAMES[479] = ATTR_MULTIPLE;
ATTRIBUTE_NAMES[480] = ATTR_ONSTOP;
ATTRIBUTE_NAMES[481] = ATTR_POSTER;
ATTRIBUTE_NAMES[482] = ATTR_PATTERN;
ATTRIBUTE_NAMES[483] = ATTR_PATTERNCONTENTUNITS;
ATTRIBUTE_NAMES[484] = ATTR_STITCHTILES;
ATTRIBUTE_NAMES[485] = ATTR_TEXT_RENDERING;
ATTRIBUTE_NAMES[486] = ATTR_TEXT_ANCHOR;
ATTRIBUTE_NAMES[487] = ATTR_TEXT;
ATTRIBUTE_NAMES[488] = ATTR_WIDTH;
ATTRIBUTE_NAMES[489] = ATTR_COLUMNSPAN;
ATTRIBUTE_NAMES[490] = ATTR_COLUMNALIGN;
ATTRIBUTE_NAMES[491] = ATTR_COLUMNWIDTH;
ATTRIBUTE_NAMES[492] = ATTR_INPUTMODE;
ATTRIBUTE_NAMES[493] = ATTR_ONCUT;
ATTRIBUTE_NAMES[494] = ATTR_REQUIREDFEATURES;
ATTRIBUTE_NAMES[495] = ATTR_REQUIREDEXTENSIONS;
ATTRIBUTE_NAMES[496] = ATTR_VALUETYPE;
ATTRIBUTE_NAMES[497] = ATTR_ELEVATION;
ATTRIBUTE_NAMES[412] = ATTR_AUTOCAPITALIZE;
ATTRIBUTE_NAMES[413] = ATTR_COLOR_PROFILE;
ATTRIBUTE_NAMES[414] = ATTR_COLOR_INTERPOLATION;
ATTRIBUTE_NAMES[415] = ATTR_COLOR_INTERPOLATION_FILTERS;
ATTRIBUTE_NAMES[416] = ATTR_EXPONENT;
ATTRIBUTE_NAMES[417] = ATTR_FLOOD_OPACITY;
ATTRIBUTE_NAMES[418] = ATTR_NUMOCTAVES;
ATTRIBUTE_NAMES[419] = ATTR_ONLOAD;
ATTRIBUTE_NAMES[420] = ATTR_ONMOUSEENTER;
ATTRIBUTE_NAMES[421] = ATTR_ONFOCUSIN;
ATTRIBUTE_NAMES[422] = ATTR_ONZOOM;
ATTRIBUTE_NAMES[423] = ATTR_ONMOUSELEAVE;
ATTRIBUTE_NAMES[424] = ATTR_ONMOUSEUP;
ATTRIBUTE_NAMES[425] = ATTR_ONMOUSEOUT;
ATTRIBUTE_NAMES[426] = ATTR_ONMOUSEDOWN;
ATTRIBUTE_NAMES[427] = ATTR_RQUOTE;
ATTRIBUTE_NAMES[428] = ATTR_STROKE_DASHARRAY;
ATTRIBUTE_NAMES[429] = ATTR_STROKE_LINEJOIN;
ATTRIBUTE_NAMES[430] = ATTR_STROKE;
ATTRIBUTE_NAMES[431] = ATTR_STROKE_WIDTH;
ATTRIBUTE_NAMES[432] = ATTR_COMPACT;
ATTRIBUTE_NAMES[433] = ATTR_CLIP_RULE;
ATTRIBUTE_NAMES[434] = ATTR_CLIPPATHUNITS;
ATTRIBUTE_NAMES[435] = ATTR_DISPLAYSTYLE;
ATTRIBUTE_NAMES[436] = ATTR_GLYPH_ORIENTATION_HORIZONTAL;
ATTRIBUTE_NAMES[437] = ATTR_HTTP_EQUIV;
ATTRIBUTE_NAMES[438] = ATTR_LOOP;
ATTRIBUTE_NAMES[439] = ATTR_SCOPED;
ATTRIBUTE_NAMES[440] = ATTR_SHAPE_RENDERING;
ATTRIBUTE_NAMES[441] = ATTR_SHAPE;
ATTRIBUTE_NAMES[442] = ATTR_STOP_COLOR;
ATTRIBUTE_NAMES[443] = ATTR_TEMPLATE;
ATTRIBUTE_NAMES[444] = ATTR_ABBR;
ATTRIBUTE_NAMES[445] = ATTR_ATTRIBUTETYPE;
ATTRIBUTE_NAMES[446] = ATTR_COORDS;
ATTRIBUTE_NAMES[447] = ATTR_CHARSET;
ATTRIBUTE_NAMES[448] = ATTR_NOHREF;
ATTRIBUTE_NAMES[449] = ATTR_ONDRAGENTER;
ATTRIBUTE_NAMES[450] = ATTR_ONDRAGEND;
ATTRIBUTE_NAMES[451] = ATTR_ONDRAGDROP;
ATTRIBUTE_NAMES[452] = ATTR_OPERATOR;
ATTRIBUTE_NAMES[453] = ATTR_ONDRAGSTART;
ATTRIBUTE_NAMES[454] = ATTR_STARTOFFSET;
ATTRIBUTE_NAMES[455] = ATTR_AS;
ATTRIBUTE_NAMES[456] = ATTR_BIAS;
ATTRIBUTE_NAMES[457] = ATTR_CLASSID;
ATTRIBUTE_NAMES[458] = ATTR_COLS;
ATTRIBUTE_NAMES[459] = ATTR_CLOSURE;
ATTRIBUTE_NAMES[460] = ATTR_CLASS;
ATTRIBUTE_NAMES[461] = ATTR_KEYSYSTEM;
ATTRIBUTE_NAMES[462] = ATTR_LOWSRC;
ATTRIBUTE_NAMES[463] = ATTR_MINSIZE;
ATTRIBUTE_NAMES[464] = ATTR_PRESERVEALPHA;
ATTRIBUTE_NAMES[465] = ATTR_ROWSPAN;
ATTRIBUTE_NAMES[466] = ATTR_ROWS;
ATTRIBUTE_NAMES[467] = ATTR_SUBSCRIPTSHIFT;
ATTRIBUTE_NAMES[468] = ATTR_ALTTEXT;
ATTRIBUTE_NAMES[469] = ATTR_CONTROLS;
ATTRIBUTE_NAMES[470] = ATTR_CONTEXTMENU;
ATTRIBUTE_NAMES[471] = ATTR_ENCTYPE;
ATTRIBUTE_NAMES[472] = ATTR_FILTER;
ATTRIBUTE_NAMES[473] = ATTR_FONT_WEIGHT;
ATTRIBUTE_NAMES[474] = ATTR_FONT_STYLE;
ATTRIBUTE_NAMES[475] = ATTR_FONT_FAMILY;
ATTRIBUTE_NAMES[476] = ATTR_FONT_SIZE_ADJUST;
ATTRIBUTE_NAMES[477] = ATTR_FONTSIZE;
ATTRIBUTE_NAMES[478] = ATTR_KEYTIMES;
ATTRIBUTE_NAMES[479] = ATTR_LIST;
ATTRIBUTE_NAMES[480] = ATTR_RT;
ATTRIBUTE_NAMES[481] = ATTR_ONSTART;
ATTRIBUTE_NAMES[482] = ATTR_PATTERNTRANSFORM;
ATTRIBUTE_NAMES[483] = ATTR_PATTERNUNITS;
ATTRIBUTE_NAMES[484] = ATTR_RESTART;
ATTRIBUTE_NAMES[485] = ATTR_SYSTEMLANGUAGE;
ATTRIBUTE_NAMES[486] = ATTR_TEXT_DECORATION;
ATTRIBUTE_NAMES[487] = ATTR_TEXTLENGTH;
ATTRIBUTE_NAMES[488] = ATTR_WRITING_MODE;
ATTRIBUTE_NAMES[489] = ATTR_ACCUMULATE;
ATTRIBUTE_NAMES[490] = ATTR_COLUMNLINES;
ATTRIBUTE_NAMES[491] = ATTR_COLUMNSPACING;
ATTRIBUTE_NAMES[492] = ATTR_GROUPALIGN;
ATTRIBUTE_NAMES[493] = ATTR_ONSUBMIT;
ATTRIBUTE_NAMES[494] = ATTR_REQUIRED;
ATTRIBUTE_NAMES[495] = ATTR_RESULT;
ATTRIBUTE_NAMES[496] = ATTR_VALUES;
ATTRIBUTE_NAMES[497] = ATTR_VALUE;
ATTRIBUTE_NAMES[498] = ATTR_VIEWTARGET;
}
void nsHtml5AttributeName::releaseStatics() {
@ -2682,6 +2687,7 @@ void nsHtml5AttributeName::releaseStatics() {
delete ATTR_AUTOPLAY;
delete ATTR_AUTOCOMPLETE;
delete ATTR_AUTOFOCUS;
delete ATTR_AUTOCAPITALIZE;
delete ATTR_BGCOLOR;
delete ATTR_COLOR_PROFILE;
delete ATTR_COLOR_RENDERING;

Просмотреть файл

@ -491,6 +491,7 @@ class nsHtml5AttributeName {
static nsHtml5AttributeName* ATTR_AUTOPLAY;
static nsHtml5AttributeName* ATTR_AUTOCOMPLETE;
static nsHtml5AttributeName* ATTR_AUTOFOCUS;
static nsHtml5AttributeName* ATTR_AUTOCAPITALIZE;
static nsHtml5AttributeName* ATTR_BGCOLOR;
static nsHtml5AttributeName* ATTR_COLOR_PROFILE;
static nsHtml5AttributeName* ATTR_COLOR_RENDERING;