Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / parser / html / nsHtml5AttributeName.h
blobf12590e880978da5f83b567a80d38c24193d70b3
1 /*
2 * Copyright (c) 2008-2011 Mozilla Foundation
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 * DEALINGS IN THE SOFTWARE.
24 * THIS IS A GENERATED FILE. PLEASE DO NOT EDIT.
25 * Please edit AttributeName.java instead and regenerate.
28 #ifndef nsHtml5AttributeName_h
29 #define nsHtml5AttributeName_h
31 #include "nsIAtom.h"
32 #include "nsHtml5AtomTable.h"
33 #include "nsString.h"
34 #include "nsNameSpaceManager.h"
35 #include "nsIContent.h"
36 #include "nsTraceRefcnt.h"
37 #include "jArray.h"
38 #include "nsHtml5ArrayCopy.h"
39 #include "nsAHtml5TreeBuilderState.h"
40 #include "nsHtml5Atoms.h"
41 #include "nsHtml5ByteReadable.h"
42 #include "nsIUnicodeDecoder.h"
43 #include "nsHtml5Macros.h"
44 #include "nsIContentHandle.h"
46 class nsHtml5StreamParser;
48 class nsHtml5Tokenizer;
49 class nsHtml5TreeBuilder;
50 class nsHtml5MetaScanner;
51 class nsHtml5ElementName;
52 class nsHtml5HtmlAttributes;
53 class nsHtml5UTF16Buffer;
54 class nsHtml5StateSnapshot;
55 class nsHtml5Portability;
58 class nsHtml5AttributeName
60 public:
61 static int32_t* ALL_NO_NS;
62 private:
63 static int32_t* XMLNS_NS;
64 static int32_t* XML_NS;
65 static int32_t* XLINK_NS;
66 public:
67 static nsIAtom** ALL_NO_PREFIX;
68 private:
69 static nsIAtom** XMLNS_PREFIX;
70 static nsIAtom** XLINK_PREFIX;
71 static nsIAtom** XML_PREFIX;
72 static nsIAtom** SVG_DIFFERENT(nsIAtom* name, nsIAtom* camel);
73 static nsIAtom** MATH_DIFFERENT(nsIAtom* name, nsIAtom* camel);
74 static nsIAtom** COLONIFIED_LOCAL(nsIAtom* name, nsIAtom* suffix);
75 public:
76 static nsIAtom** SAME_LOCAL(nsIAtom* name);
77 static nsHtml5AttributeName* nameByBuffer(char16_t* buf, int32_t offset, int32_t length, nsHtml5AtomTable* interner);
78 private:
79 static int32_t bufToHash(char16_t* buf, int32_t len);
80 int32_t* uri;
81 nsIAtom** local;
82 nsIAtom** prefix;
83 protected:
84 nsHtml5AttributeName(int32_t* uri, nsIAtom** local, nsIAtom** prefix);
85 private:
86 static nsHtml5AttributeName* createAttributeName(nsIAtom* name);
87 public:
88 virtual void release();
89 virtual ~nsHtml5AttributeName();
90 virtual nsHtml5AttributeName* cloneAttributeName(nsHtml5AtomTable* interner);
91 int32_t getUri(int32_t mode);
92 nsIAtom* getLocal(int32_t mode);
93 nsIAtom* getPrefix(int32_t mode);
94 bool equalsAnother(nsHtml5AttributeName* another);
95 static nsHtml5AttributeName* ATTR_D;
96 static nsHtml5AttributeName* ATTR_K;
97 static nsHtml5AttributeName* ATTR_R;
98 static nsHtml5AttributeName* ATTR_X;
99 static nsHtml5AttributeName* ATTR_Y;
100 static nsHtml5AttributeName* ATTR_Z;
101 static nsHtml5AttributeName* ATTR_BY;
102 static nsHtml5AttributeName* ATTR_CX;
103 static nsHtml5AttributeName* ATTR_CY;
104 static nsHtml5AttributeName* ATTR_DX;
105 static nsHtml5AttributeName* ATTR_DY;
106 static nsHtml5AttributeName* ATTR_G2;
107 static nsHtml5AttributeName* ATTR_G1;
108 static nsHtml5AttributeName* ATTR_FX;
109 static nsHtml5AttributeName* ATTR_FY;
110 static nsHtml5AttributeName* ATTR_K4;
111 static nsHtml5AttributeName* ATTR_K2;
112 static nsHtml5AttributeName* ATTR_K3;
113 static nsHtml5AttributeName* ATTR_K1;
114 static nsHtml5AttributeName* ATTR_ID;
115 static nsHtml5AttributeName* ATTR_IN;
116 static nsHtml5AttributeName* ATTR_U2;
117 static nsHtml5AttributeName* ATTR_U1;
118 static nsHtml5AttributeName* ATTR_RT;
119 static nsHtml5AttributeName* ATTR_RX;
120 static nsHtml5AttributeName* ATTR_RY;
121 static nsHtml5AttributeName* ATTR_TO;
122 static nsHtml5AttributeName* ATTR_Y2;
123 static nsHtml5AttributeName* ATTR_Y1;
124 static nsHtml5AttributeName* ATTR_X1;
125 static nsHtml5AttributeName* ATTR_X2;
126 static nsHtml5AttributeName* ATTR_ALT;
127 static nsHtml5AttributeName* ATTR_DIR;
128 static nsHtml5AttributeName* ATTR_DUR;
129 static nsHtml5AttributeName* ATTR_END;
130 static nsHtml5AttributeName* ATTR_FOR;
131 static nsHtml5AttributeName* ATTR_IN2;
132 static nsHtml5AttributeName* ATTR_MAX;
133 static nsHtml5AttributeName* ATTR_MIN;
134 static nsHtml5AttributeName* ATTR_LOW;
135 static nsHtml5AttributeName* ATTR_REL;
136 static nsHtml5AttributeName* ATTR_REV;
137 static nsHtml5AttributeName* ATTR_SRC;
138 static nsHtml5AttributeName* ATTR_AXIS;
139 static nsHtml5AttributeName* ATTR_ABBR;
140 static nsHtml5AttributeName* ATTR_BBOX;
141 static nsHtml5AttributeName* ATTR_CITE;
142 static nsHtml5AttributeName* ATTR_CODE;
143 static nsHtml5AttributeName* ATTR_BIAS;
144 static nsHtml5AttributeName* ATTR_COLS;
145 static nsHtml5AttributeName* ATTR_CLIP;
146 static nsHtml5AttributeName* ATTR_CHAR;
147 static nsHtml5AttributeName* ATTR_BASE;
148 static nsHtml5AttributeName* ATTR_EDGE;
149 static nsHtml5AttributeName* ATTR_DATA;
150 static nsHtml5AttributeName* ATTR_FILL;
151 static nsHtml5AttributeName* ATTR_FROM;
152 static nsHtml5AttributeName* ATTR_FORM;
153 static nsHtml5AttributeName* ATTR_FACE;
154 static nsHtml5AttributeName* ATTR_HIGH;
155 static nsHtml5AttributeName* ATTR_HREF;
156 static nsHtml5AttributeName* ATTR_OPEN;
157 static nsHtml5AttributeName* ATTR_ICON;
158 static nsHtml5AttributeName* ATTR_NAME;
159 static nsHtml5AttributeName* ATTR_MODE;
160 static nsHtml5AttributeName* ATTR_MASK;
161 static nsHtml5AttributeName* ATTR_LINK;
162 static nsHtml5AttributeName* ATTR_LANG;
163 static nsHtml5AttributeName* ATTR_LOOP;
164 static nsHtml5AttributeName* ATTR_LIST;
165 static nsHtml5AttributeName* ATTR_TYPE;
166 static nsHtml5AttributeName* ATTR_WHEN;
167 static nsHtml5AttributeName* ATTR_WRAP;
168 static nsHtml5AttributeName* ATTR_TEXT;
169 static nsHtml5AttributeName* ATTR_PATH;
170 static nsHtml5AttributeName* ATTR_PING;
171 static nsHtml5AttributeName* ATTR_REFX;
172 static nsHtml5AttributeName* ATTR_REFY;
173 static nsHtml5AttributeName* ATTR_SIZE;
174 static nsHtml5AttributeName* ATTR_SEED;
175 static nsHtml5AttributeName* ATTR_ROWS;
176 static nsHtml5AttributeName* ATTR_SPAN;
177 static nsHtml5AttributeName* ATTR_STEP;
178 static nsHtml5AttributeName* ATTR_ROLE;
179 static nsHtml5AttributeName* ATTR_XREF;
180 static nsHtml5AttributeName* ATTR_ASYNC;
181 static nsHtml5AttributeName* ATTR_ALINK;
182 static nsHtml5AttributeName* ATTR_ALIGN;
183 static nsHtml5AttributeName* ATTR_CLOSE;
184 static nsHtml5AttributeName* ATTR_COLOR;
185 static nsHtml5AttributeName* ATTR_CLASS;
186 static nsHtml5AttributeName* ATTR_CLEAR;
187 static nsHtml5AttributeName* ATTR_BEGIN;
188 static nsHtml5AttributeName* ATTR_DEPTH;
189 static nsHtml5AttributeName* ATTR_DEFER;
190 static nsHtml5AttributeName* ATTR_FENCE;
191 static nsHtml5AttributeName* ATTR_FRAME;
192 static nsHtml5AttributeName* ATTR_ISMAP;
193 static nsHtml5AttributeName* ATTR_ONEND;
194 static nsHtml5AttributeName* ATTR_INDEX;
195 static nsHtml5AttributeName* ATTR_ORDER;
196 static nsHtml5AttributeName* ATTR_OTHER;
197 static nsHtml5AttributeName* ATTR_ONCUT;
198 static nsHtml5AttributeName* ATTR_NARGS;
199 static nsHtml5AttributeName* ATTR_MEDIA;
200 static nsHtml5AttributeName* ATTR_LABEL;
201 static nsHtml5AttributeName* ATTR_LOCAL;
202 static nsHtml5AttributeName* ATTR_WIDTH;
203 static nsHtml5AttributeName* ATTR_TITLE;
204 static nsHtml5AttributeName* ATTR_VLINK;
205 static nsHtml5AttributeName* ATTR_VALUE;
206 static nsHtml5AttributeName* ATTR_SLOPE;
207 static nsHtml5AttributeName* ATTR_SHAPE;
208 static nsHtml5AttributeName* ATTR_SCOPE;
209 static nsHtml5AttributeName* ATTR_SCALE;
210 static nsHtml5AttributeName* ATTR_SPEED;
211 static nsHtml5AttributeName* ATTR_STYLE;
212 static nsHtml5AttributeName* ATTR_RULES;
213 static nsHtml5AttributeName* ATTR_STEMH;
214 static nsHtml5AttributeName* ATTR_SIZES;
215 static nsHtml5AttributeName* ATTR_STEMV;
216 static nsHtml5AttributeName* ATTR_START;
217 static nsHtml5AttributeName* ATTR_XMLNS;
218 static nsHtml5AttributeName* ATTR_ACCEPT;
219 static nsHtml5AttributeName* ATTR_ACCENT;
220 static nsHtml5AttributeName* ATTR_ASCENT;
221 static nsHtml5AttributeName* ATTR_ACTIVE;
222 static nsHtml5AttributeName* ATTR_ALTIMG;
223 static nsHtml5AttributeName* ATTR_ACTION;
224 static nsHtml5AttributeName* ATTR_BORDER;
225 static nsHtml5AttributeName* ATTR_CURSOR;
226 static nsHtml5AttributeName* ATTR_COORDS;
227 static nsHtml5AttributeName* ATTR_FILTER;
228 static nsHtml5AttributeName* ATTR_FORMAT;
229 static nsHtml5AttributeName* ATTR_HIDDEN;
230 static nsHtml5AttributeName* ATTR_HSPACE;
231 static nsHtml5AttributeName* ATTR_HEIGHT;
232 static nsHtml5AttributeName* ATTR_ONMOVE;
233 static nsHtml5AttributeName* ATTR_ONLOAD;
234 static nsHtml5AttributeName* ATTR_ONDRAG;
235 static nsHtml5AttributeName* ATTR_ORIGIN;
236 static nsHtml5AttributeName* ATTR_ONZOOM;
237 static nsHtml5AttributeName* ATTR_ONHELP;
238 static nsHtml5AttributeName* ATTR_ONSTOP;
239 static nsHtml5AttributeName* ATTR_ONDROP;
240 static nsHtml5AttributeName* ATTR_ONBLUR;
241 static nsHtml5AttributeName* ATTR_OBJECT;
242 static nsHtml5AttributeName* ATTR_OFFSET;
243 static nsHtml5AttributeName* ATTR_ORIENT;
244 static nsHtml5AttributeName* ATTR_ONCOPY;
245 static nsHtml5AttributeName* ATTR_NOWRAP;
246 static nsHtml5AttributeName* ATTR_NOHREF;
247 static nsHtml5AttributeName* ATTR_MACROS;
248 static nsHtml5AttributeName* ATTR_METHOD;
249 static nsHtml5AttributeName* ATTR_LOWSRC;
250 static nsHtml5AttributeName* ATTR_LSPACE;
251 static nsHtml5AttributeName* ATTR_LQUOTE;
252 static nsHtml5AttributeName* ATTR_USEMAP;
253 static nsHtml5AttributeName* ATTR_WIDTHS;
254 static nsHtml5AttributeName* ATTR_TARGET;
255 static nsHtml5AttributeName* ATTR_VALUES;
256 static nsHtml5AttributeName* ATTR_VALIGN;
257 static nsHtml5AttributeName* ATTR_VSPACE;
258 static nsHtml5AttributeName* ATTR_POSTER;
259 static nsHtml5AttributeName* ATTR_POINTS;
260 static nsHtml5AttributeName* ATTR_PROMPT;
261 static nsHtml5AttributeName* ATTR_SRCDOC;
262 static nsHtml5AttributeName* ATTR_SCOPED;
263 static nsHtml5AttributeName* ATTR_STRING;
264 static nsHtml5AttributeName* ATTR_SCHEME;
265 static nsHtml5AttributeName* ATTR_STROKE;
266 static nsHtml5AttributeName* ATTR_RADIUS;
267 static nsHtml5AttributeName* ATTR_RESULT;
268 static nsHtml5AttributeName* ATTR_REPEAT;
269 static nsHtml5AttributeName* ATTR_SRCSET;
270 static nsHtml5AttributeName* ATTR_RSPACE;
271 static nsHtml5AttributeName* ATTR_ROTATE;
272 static nsHtml5AttributeName* ATTR_RQUOTE;
273 static nsHtml5AttributeName* ATTR_ALTTEXT;
274 static nsHtml5AttributeName* ATTR_ARCHIVE;
275 static nsHtml5AttributeName* ATTR_AZIMUTH;
276 static nsHtml5AttributeName* ATTR_CLOSURE;
277 static nsHtml5AttributeName* ATTR_CHECKED;
278 static nsHtml5AttributeName* ATTR_CLASSID;
279 static nsHtml5AttributeName* ATTR_CHAROFF;
280 static nsHtml5AttributeName* ATTR_BGCOLOR;
281 static nsHtml5AttributeName* ATTR_COLSPAN;
282 static nsHtml5AttributeName* ATTR_CHARSET;
283 static nsHtml5AttributeName* ATTR_COMPACT;
284 static nsHtml5AttributeName* ATTR_CONTENT;
285 static nsHtml5AttributeName* ATTR_ENCTYPE;
286 static nsHtml5AttributeName* ATTR_DATASRC;
287 static nsHtml5AttributeName* ATTR_DATAFLD;
288 static nsHtml5AttributeName* ATTR_DECLARE;
289 static nsHtml5AttributeName* ATTR_DISPLAY;
290 static nsHtml5AttributeName* ATTR_DIVISOR;
291 static nsHtml5AttributeName* ATTR_DEFAULT;
292 static nsHtml5AttributeName* ATTR_DESCENT;
293 static nsHtml5AttributeName* ATTR_KERNING;
294 static nsHtml5AttributeName* ATTR_HANGING;
295 static nsHtml5AttributeName* ATTR_HEADERS;
296 static nsHtml5AttributeName* ATTR_ONPASTE;
297 static nsHtml5AttributeName* ATTR_ONCLICK;
298 static nsHtml5AttributeName* ATTR_OPTIMUM;
299 static nsHtml5AttributeName* ATTR_ONBEGIN;
300 static nsHtml5AttributeName* ATTR_ONKEYUP;
301 static nsHtml5AttributeName* ATTR_ONFOCUS;
302 static nsHtml5AttributeName* ATTR_ONERROR;
303 static nsHtml5AttributeName* ATTR_ONINPUT;
304 static nsHtml5AttributeName* ATTR_ONABORT;
305 static nsHtml5AttributeName* ATTR_ONSTART;
306 static nsHtml5AttributeName* ATTR_ONRESET;
307 static nsHtml5AttributeName* ATTR_OPACITY;
308 static nsHtml5AttributeName* ATTR_NOSHADE;
309 static nsHtml5AttributeName* ATTR_MINSIZE;
310 static nsHtml5AttributeName* ATTR_MAXSIZE;
311 static nsHtml5AttributeName* ATTR_LARGEOP;
312 static nsHtml5AttributeName* ATTR_UNICODE;
313 static nsHtml5AttributeName* ATTR_TARGETX;
314 static nsHtml5AttributeName* ATTR_TARGETY;
315 static nsHtml5AttributeName* ATTR_VIEWBOX;
316 static nsHtml5AttributeName* ATTR_VERSION;
317 static nsHtml5AttributeName* ATTR_PATTERN;
318 static nsHtml5AttributeName* ATTR_PROFILE;
319 static nsHtml5AttributeName* ATTR_SPACING;
320 static nsHtml5AttributeName* ATTR_RESTART;
321 static nsHtml5AttributeName* ATTR_ROWSPAN;
322 static nsHtml5AttributeName* ATTR_SANDBOX;
323 static nsHtml5AttributeName* ATTR_SUMMARY;
324 static nsHtml5AttributeName* ATTR_STANDBY;
325 static nsHtml5AttributeName* ATTR_REPLACE;
326 static nsHtml5AttributeName* ATTR_AUTOPLAY;
327 static nsHtml5AttributeName* ATTR_ADDITIVE;
328 static nsHtml5AttributeName* ATTR_CALCMODE;
329 static nsHtml5AttributeName* ATTR_CODETYPE;
330 static nsHtml5AttributeName* ATTR_CODEBASE;
331 static nsHtml5AttributeName* ATTR_CONTROLS;
332 static nsHtml5AttributeName* ATTR_BEVELLED;
333 static nsHtml5AttributeName* ATTR_BASELINE;
334 static nsHtml5AttributeName* ATTR_EXPONENT;
335 static nsHtml5AttributeName* ATTR_EDGEMODE;
336 static nsHtml5AttributeName* ATTR_ENCODING;
337 static nsHtml5AttributeName* ATTR_GLYPHREF;
338 static nsHtml5AttributeName* ATTR_DATETIME;
339 static nsHtml5AttributeName* ATTR_DISABLED;
340 static nsHtml5AttributeName* ATTR_FONTSIZE;
341 static nsHtml5AttributeName* ATTR_KEYTIMES;
342 static nsHtml5AttributeName* ATTR_PANOSE_1;
343 static nsHtml5AttributeName* ATTR_HREFLANG;
344 static nsHtml5AttributeName* ATTR_ONRESIZE;
345 static nsHtml5AttributeName* ATTR_ONCHANGE;
346 static nsHtml5AttributeName* ATTR_ONBOUNCE;
347 static nsHtml5AttributeName* ATTR_ONUNLOAD;
348 static nsHtml5AttributeName* ATTR_ONFINISH;
349 static nsHtml5AttributeName* ATTR_ONSCROLL;
350 static nsHtml5AttributeName* ATTR_OPERATOR;
351 static nsHtml5AttributeName* ATTR_OVERFLOW;
352 static nsHtml5AttributeName* ATTR_ONSUBMIT;
353 static nsHtml5AttributeName* ATTR_ONREPEAT;
354 static nsHtml5AttributeName* ATTR_ONSELECT;
355 static nsHtml5AttributeName* ATTR_NOTATION;
356 static nsHtml5AttributeName* ATTR_NORESIZE;
357 static nsHtml5AttributeName* ATTR_MANIFEST;
358 static nsHtml5AttributeName* ATTR_MATHSIZE;
359 static nsHtml5AttributeName* ATTR_MULTIPLE;
360 static nsHtml5AttributeName* ATTR_LONGDESC;
361 static nsHtml5AttributeName* ATTR_LANGUAGE;
362 static nsHtml5AttributeName* ATTR_TEMPLATE;
363 static nsHtml5AttributeName* ATTR_TABINDEX;
364 static nsHtml5AttributeName* ATTR_READONLY;
365 static nsHtml5AttributeName* ATTR_SELECTED;
366 static nsHtml5AttributeName* ATTR_ROWLINES;
367 static nsHtml5AttributeName* ATTR_SEAMLESS;
368 static nsHtml5AttributeName* ATTR_ROWALIGN;
369 static nsHtml5AttributeName* ATTR_STRETCHY;
370 static nsHtml5AttributeName* ATTR_REQUIRED;
371 static nsHtml5AttributeName* ATTR_XML_BASE;
372 static nsHtml5AttributeName* ATTR_XML_LANG;
373 static nsHtml5AttributeName* ATTR_X_HEIGHT;
374 static nsHtml5AttributeName* ATTR_ARIA_OWNS;
375 static nsHtml5AttributeName* ATTR_AUTOFOCUS;
376 static nsHtml5AttributeName* ATTR_ARIA_SORT;
377 static nsHtml5AttributeName* ATTR_ACCESSKEY;
378 static nsHtml5AttributeName* ATTR_ARIA_BUSY;
379 static nsHtml5AttributeName* ATTR_ARIA_GRAB;
380 static nsHtml5AttributeName* ATTR_AMPLITUDE;
381 static nsHtml5AttributeName* ATTR_ARIA_LIVE;
382 static nsHtml5AttributeName* ATTR_CLIP_RULE;
383 static nsHtml5AttributeName* ATTR_CLIP_PATH;
384 static nsHtml5AttributeName* ATTR_EQUALROWS;
385 static nsHtml5AttributeName* ATTR_ELEVATION;
386 static nsHtml5AttributeName* ATTR_DIRECTION;
387 static nsHtml5AttributeName* ATTR_DRAGGABLE;
388 static nsHtml5AttributeName* ATTR_FILTERRES;
389 static nsHtml5AttributeName* ATTR_FILL_RULE;
390 static nsHtml5AttributeName* ATTR_FONTSTYLE;
391 static nsHtml5AttributeName* ATTR_FONT_SIZE;
392 static nsHtml5AttributeName* ATTR_KEYSYSTEM;
393 static nsHtml5AttributeName* ATTR_KEYPOINTS;
394 static nsHtml5AttributeName* ATTR_HIDEFOCUS;
395 static nsHtml5AttributeName* ATTR_ONMESSAGE;
396 static nsHtml5AttributeName* ATTR_INTERCEPT;
397 static nsHtml5AttributeName* ATTR_ONDRAGEND;
398 static nsHtml5AttributeName* ATTR_ONMOVEEND;
399 static nsHtml5AttributeName* ATTR_ONINVALID;
400 static nsHtml5AttributeName* ATTR_ONKEYDOWN;
401 static nsHtml5AttributeName* ATTR_ONFOCUSIN;
402 static nsHtml5AttributeName* ATTR_ONMOUSEUP;
403 static nsHtml5AttributeName* ATTR_INPUTMODE;
404 static nsHtml5AttributeName* ATTR_ONROWEXIT;
405 static nsHtml5AttributeName* ATTR_MATHCOLOR;
406 static nsHtml5AttributeName* ATTR_MASKUNITS;
407 static nsHtml5AttributeName* ATTR_MAXLENGTH;
408 static nsHtml5AttributeName* ATTR_LINEBREAK;
409 static nsHtml5AttributeName* ATTR_TRANSFORM;
410 static nsHtml5AttributeName* ATTR_V_HANGING;
411 static nsHtml5AttributeName* ATTR_VALUETYPE;
412 static nsHtml5AttributeName* ATTR_POINTSATZ;
413 static nsHtml5AttributeName* ATTR_POINTSATX;
414 static nsHtml5AttributeName* ATTR_POINTSATY;
415 static nsHtml5AttributeName* ATTR_SYMMETRIC;
416 static nsHtml5AttributeName* ATTR_SCROLLING;
417 static nsHtml5AttributeName* ATTR_REPEATDUR;
418 static nsHtml5AttributeName* ATTR_SELECTION;
419 static nsHtml5AttributeName* ATTR_SEPARATOR;
420 static nsHtml5AttributeName* ATTR_XML_SPACE;
421 static nsHtml5AttributeName* ATTR_AUTOSUBMIT;
422 static nsHtml5AttributeName* ATTR_ALPHABETIC;
423 static nsHtml5AttributeName* ATTR_ACTIONTYPE;
424 static nsHtml5AttributeName* ATTR_ACCUMULATE;
425 static nsHtml5AttributeName* ATTR_ARIA_LEVEL;
426 static nsHtml5AttributeName* ATTR_COLUMNSPAN;
427 static nsHtml5AttributeName* ATTR_CAP_HEIGHT;
428 static nsHtml5AttributeName* ATTR_BACKGROUND;
429 static nsHtml5AttributeName* ATTR_GLYPH_NAME;
430 static nsHtml5AttributeName* ATTR_GROUPALIGN;
431 static nsHtml5AttributeName* ATTR_FONTFAMILY;
432 static nsHtml5AttributeName* ATTR_FONTWEIGHT;
433 static nsHtml5AttributeName* ATTR_FONT_STYLE;
434 static nsHtml5AttributeName* ATTR_KEYSPLINES;
435 static nsHtml5AttributeName* ATTR_HTTP_EQUIV;
436 static nsHtml5AttributeName* ATTR_ONACTIVATE;
437 static nsHtml5AttributeName* ATTR_OCCURRENCE;
438 static nsHtml5AttributeName* ATTR_IRRELEVANT;
439 static nsHtml5AttributeName* ATTR_ONDBLCLICK;
440 static nsHtml5AttributeName* ATTR_ONDRAGDROP;
441 static nsHtml5AttributeName* ATTR_ONKEYPRESS;
442 static nsHtml5AttributeName* ATTR_ONROWENTER;
443 static nsHtml5AttributeName* ATTR_ONDRAGOVER;
444 static nsHtml5AttributeName* ATTR_ONFOCUSOUT;
445 static nsHtml5AttributeName* ATTR_ONMOUSEOUT;
446 static nsHtml5AttributeName* ATTR_NUMOCTAVES;
447 static nsHtml5AttributeName* ATTR_MARKER_MID;
448 static nsHtml5AttributeName* ATTR_MARKER_END;
449 static nsHtml5AttributeName* ATTR_TEXTLENGTH;
450 static nsHtml5AttributeName* ATTR_VISIBILITY;
451 static nsHtml5AttributeName* ATTR_VIEWTARGET;
452 static nsHtml5AttributeName* ATTR_VERT_ADV_Y;
453 static nsHtml5AttributeName* ATTR_PATHLENGTH;
454 static nsHtml5AttributeName* ATTR_REPEAT_MAX;
455 static nsHtml5AttributeName* ATTR_RADIOGROUP;
456 static nsHtml5AttributeName* ATTR_STOP_COLOR;
457 static nsHtml5AttributeName* ATTR_SEPARATORS;
458 static nsHtml5AttributeName* ATTR_REPEAT_MIN;
459 static nsHtml5AttributeName* ATTR_ROWSPACING;
460 static nsHtml5AttributeName* ATTR_ZOOMANDPAN;
461 static nsHtml5AttributeName* ATTR_XLINK_TYPE;
462 static nsHtml5AttributeName* ATTR_XLINK_ROLE;
463 static nsHtml5AttributeName* ATTR_XLINK_HREF;
464 static nsHtml5AttributeName* ATTR_XLINK_SHOW;
465 static nsHtml5AttributeName* ATTR_ACCENTUNDER;
466 static nsHtml5AttributeName* ATTR_ARIA_SECRET;
467 static nsHtml5AttributeName* ATTR_ARIA_ATOMIC;
468 static nsHtml5AttributeName* ATTR_ARIA_HIDDEN;
469 static nsHtml5AttributeName* ATTR_ARIA_FLOWTO;
470 static nsHtml5AttributeName* ATTR_ARABIC_FORM;
471 static nsHtml5AttributeName* ATTR_CELLPADDING;
472 static nsHtml5AttributeName* ATTR_CELLSPACING;
473 static nsHtml5AttributeName* ATTR_COLUMNWIDTH;
474 static nsHtml5AttributeName* ATTR_CROSSORIGIN;
475 static nsHtml5AttributeName* ATTR_COLUMNALIGN;
476 static nsHtml5AttributeName* ATTR_COLUMNLINES;
477 static nsHtml5AttributeName* ATTR_CONTEXTMENU;
478 static nsHtml5AttributeName* ATTR_BASEPROFILE;
479 static nsHtml5AttributeName* ATTR_FONT_FAMILY;
480 static nsHtml5AttributeName* ATTR_FRAMEBORDER;
481 static nsHtml5AttributeName* ATTR_FILTERUNITS;
482 static nsHtml5AttributeName* ATTR_FLOOD_COLOR;
483 static nsHtml5AttributeName* ATTR_FONT_WEIGHT;
484 static nsHtml5AttributeName* ATTR_HORIZ_ADV_X;
485 static nsHtml5AttributeName* ATTR_ONDRAGLEAVE;
486 static nsHtml5AttributeName* ATTR_ONMOUSEMOVE;
487 static nsHtml5AttributeName* ATTR_ORIENTATION;
488 static nsHtml5AttributeName* ATTR_ONMOUSEDOWN;
489 static nsHtml5AttributeName* ATTR_ONMOUSEOVER;
490 static nsHtml5AttributeName* ATTR_ONDRAGENTER;
491 static nsHtml5AttributeName* ATTR_IDEOGRAPHIC;
492 static nsHtml5AttributeName* ATTR_ONBEFORECUT;
493 static nsHtml5AttributeName* ATTR_ONFORMINPUT;
494 static nsHtml5AttributeName* ATTR_ONDRAGSTART;
495 static nsHtml5AttributeName* ATTR_ONMOVESTART;
496 static nsHtml5AttributeName* ATTR_MARKERUNITS;
497 static nsHtml5AttributeName* ATTR_MATHVARIANT;
498 static nsHtml5AttributeName* ATTR_MARGINWIDTH;
499 static nsHtml5AttributeName* ATTR_MARKERWIDTH;
500 static nsHtml5AttributeName* ATTR_TEXT_ANCHOR;
501 static nsHtml5AttributeName* ATTR_TABLEVALUES;
502 static nsHtml5AttributeName* ATTR_SCRIPTLEVEL;
503 static nsHtml5AttributeName* ATTR_REPEATCOUNT;
504 static nsHtml5AttributeName* ATTR_STITCHTILES;
505 static nsHtml5AttributeName* ATTR_STARTOFFSET;
506 static nsHtml5AttributeName* ATTR_SCROLLDELAY;
507 static nsHtml5AttributeName* ATTR_XMLNS_XLINK;
508 static nsHtml5AttributeName* ATTR_XLINK_TITLE;
509 static nsHtml5AttributeName* ATTR_ARIA_INVALID;
510 static nsHtml5AttributeName* ATTR_ARIA_PRESSED;
511 static nsHtml5AttributeName* ATTR_ARIA_CHECKED;
512 static nsHtml5AttributeName* ATTR_AUTOCOMPLETE;
513 static nsHtml5AttributeName* ATTR_ARIA_SETSIZE;
514 static nsHtml5AttributeName* ATTR_ARIA_CHANNEL;
515 static nsHtml5AttributeName* ATTR_EQUALCOLUMNS;
516 static nsHtml5AttributeName* ATTR_DISPLAYSTYLE;
517 static nsHtml5AttributeName* ATTR_DATAFORMATAS;
518 static nsHtml5AttributeName* ATTR_FILL_OPACITY;
519 static nsHtml5AttributeName* ATTR_FONT_VARIANT;
520 static nsHtml5AttributeName* ATTR_FONT_STRETCH;
521 static nsHtml5AttributeName* ATTR_FRAMESPACING;
522 static nsHtml5AttributeName* ATTR_KERNELMATRIX;
523 static nsHtml5AttributeName* ATTR_ONDEACTIVATE;
524 static nsHtml5AttributeName* ATTR_ONROWSDELETE;
525 static nsHtml5AttributeName* ATTR_ONMOUSELEAVE;
526 static nsHtml5AttributeName* ATTR_ONFORMCHANGE;
527 static nsHtml5AttributeName* ATTR_ONCELLCHANGE;
528 static nsHtml5AttributeName* ATTR_ONMOUSEWHEEL;
529 static nsHtml5AttributeName* ATTR_ONMOUSEENTER;
530 static nsHtml5AttributeName* ATTR_ONAFTERPRINT;
531 static nsHtml5AttributeName* ATTR_ONBEFORECOPY;
532 static nsHtml5AttributeName* ATTR_MARGINHEIGHT;
533 static nsHtml5AttributeName* ATTR_MARKERHEIGHT;
534 static nsHtml5AttributeName* ATTR_MARKER_START;
535 static nsHtml5AttributeName* ATTR_MATHEMATICAL;
536 static nsHtml5AttributeName* ATTR_LENGTHADJUST;
537 static nsHtml5AttributeName* ATTR_UNSELECTABLE;
538 static nsHtml5AttributeName* ATTR_UNICODE_BIDI;
539 static nsHtml5AttributeName* ATTR_UNITS_PER_EM;
540 static nsHtml5AttributeName* ATTR_WORD_SPACING;
541 static nsHtml5AttributeName* ATTR_WRITING_MODE;
542 static nsHtml5AttributeName* ATTR_V_ALPHABETIC;
543 static nsHtml5AttributeName* ATTR_PATTERNUNITS;
544 static nsHtml5AttributeName* ATTR_SPREADMETHOD;
545 static nsHtml5AttributeName* ATTR_SURFACESCALE;
546 static nsHtml5AttributeName* ATTR_STROKE_WIDTH;
547 static nsHtml5AttributeName* ATTR_REPEAT_START;
548 static nsHtml5AttributeName* ATTR_STDDEVIATION;
549 static nsHtml5AttributeName* ATTR_STOP_OPACITY;
550 static nsHtml5AttributeName* ATTR_ARIA_CONTROLS;
551 static nsHtml5AttributeName* ATTR_ARIA_HASPOPUP;
552 static nsHtml5AttributeName* ATTR_ACCENT_HEIGHT;
553 static nsHtml5AttributeName* ATTR_ARIA_VALUENOW;
554 static nsHtml5AttributeName* ATTR_ARIA_RELEVANT;
555 static nsHtml5AttributeName* ATTR_ARIA_POSINSET;
556 static nsHtml5AttributeName* ATTR_ARIA_VALUEMAX;
557 static nsHtml5AttributeName* ATTR_ARIA_READONLY;
558 static nsHtml5AttributeName* ATTR_ARIA_SELECTED;
559 static nsHtml5AttributeName* ATTR_ARIA_REQUIRED;
560 static nsHtml5AttributeName* ATTR_ARIA_EXPANDED;
561 static nsHtml5AttributeName* ATTR_ARIA_DISABLED;
562 static nsHtml5AttributeName* ATTR_ATTRIBUTETYPE;
563 static nsHtml5AttributeName* ATTR_ATTRIBUTENAME;
564 static nsHtml5AttributeName* ATTR_ARIA_DATATYPE;
565 static nsHtml5AttributeName* ATTR_ARIA_VALUEMIN;
566 static nsHtml5AttributeName* ATTR_BASEFREQUENCY;
567 static nsHtml5AttributeName* ATTR_COLUMNSPACING;
568 static nsHtml5AttributeName* ATTR_COLOR_PROFILE;
569 static nsHtml5AttributeName* ATTR_CLIPPATHUNITS;
570 static nsHtml5AttributeName* ATTR_DEFINITIONURL;
571 static nsHtml5AttributeName* ATTR_GRADIENTUNITS;
572 static nsHtml5AttributeName* ATTR_FLOOD_OPACITY;
573 static nsHtml5AttributeName* ATTR_ONAFTERUPDATE;
574 static nsHtml5AttributeName* ATTR_ONERRORUPDATE;
575 static nsHtml5AttributeName* ATTR_ONBEFOREPASTE;
576 static nsHtml5AttributeName* ATTR_ONLOSECAPTURE;
577 static nsHtml5AttributeName* ATTR_ONCONTEXTMENU;
578 static nsHtml5AttributeName* ATTR_ONSELECTSTART;
579 static nsHtml5AttributeName* ATTR_ONBEFOREPRINT;
580 static nsHtml5AttributeName* ATTR_MOVABLELIMITS;
581 static nsHtml5AttributeName* ATTR_LINETHICKNESS;
582 static nsHtml5AttributeName* ATTR_UNICODE_RANGE;
583 static nsHtml5AttributeName* ATTR_THINMATHSPACE;
584 static nsHtml5AttributeName* ATTR_VERT_ORIGIN_X;
585 static nsHtml5AttributeName* ATTR_VERT_ORIGIN_Y;
586 static nsHtml5AttributeName* ATTR_V_IDEOGRAPHIC;
587 static nsHtml5AttributeName* ATTR_PRESERVEALPHA;
588 static nsHtml5AttributeName* ATTR_SCRIPTMINSIZE;
589 static nsHtml5AttributeName* ATTR_SPECIFICATION;
590 static nsHtml5AttributeName* ATTR_XLINK_ACTUATE;
591 static nsHtml5AttributeName* ATTR_XLINK_ARCROLE;
592 static nsHtml5AttributeName* ATTR_ACCEPT_CHARSET;
593 static nsHtml5AttributeName* ATTR_ALIGNMENTSCOPE;
594 static nsHtml5AttributeName* ATTR_ARIA_MULTILINE;
595 static nsHtml5AttributeName* ATTR_BASELINE_SHIFT;
596 static nsHtml5AttributeName* ATTR_HORIZ_ORIGIN_X;
597 static nsHtml5AttributeName* ATTR_HORIZ_ORIGIN_Y;
598 static nsHtml5AttributeName* ATTR_ONBEFOREUPDATE;
599 static nsHtml5AttributeName* ATTR_ONFILTERCHANGE;
600 static nsHtml5AttributeName* ATTR_ONROWSINSERTED;
601 static nsHtml5AttributeName* ATTR_ONBEFOREUNLOAD;
602 static nsHtml5AttributeName* ATTR_MATHBACKGROUND;
603 static nsHtml5AttributeName* ATTR_LETTER_SPACING;
604 static nsHtml5AttributeName* ATTR_LIGHTING_COLOR;
605 static nsHtml5AttributeName* ATTR_THICKMATHSPACE;
606 static nsHtml5AttributeName* ATTR_TEXT_RENDERING;
607 static nsHtml5AttributeName* ATTR_V_MATHEMATICAL;
608 static nsHtml5AttributeName* ATTR_POINTER_EVENTS;
609 static nsHtml5AttributeName* ATTR_PRIMITIVEUNITS;
610 static nsHtml5AttributeName* ATTR_SYSTEMLANGUAGE;
611 static nsHtml5AttributeName* ATTR_STROKE_LINECAP;
612 static nsHtml5AttributeName* ATTR_SUBSCRIPTSHIFT;
613 static nsHtml5AttributeName* ATTR_STROKE_OPACITY;
614 static nsHtml5AttributeName* ATTR_ARIA_DROPEFFECT;
615 static nsHtml5AttributeName* ATTR_ARIA_LABELLEDBY;
616 static nsHtml5AttributeName* ATTR_ARIA_TEMPLATEID;
617 static nsHtml5AttributeName* ATTR_COLOR_RENDERING;
618 static nsHtml5AttributeName* ATTR_CONTENTEDITABLE;
619 static nsHtml5AttributeName* ATTR_DIFFUSECONSTANT;
620 static nsHtml5AttributeName* ATTR_ONDATAAVAILABLE;
621 static nsHtml5AttributeName* ATTR_ONCONTROLSELECT;
622 static nsHtml5AttributeName* ATTR_IMAGE_RENDERING;
623 static nsHtml5AttributeName* ATTR_MEDIUMMATHSPACE;
624 static nsHtml5AttributeName* ATTR_TEXT_DECORATION;
625 static nsHtml5AttributeName* ATTR_SHAPE_RENDERING;
626 static nsHtml5AttributeName* ATTR_STROKE_LINEJOIN;
627 static nsHtml5AttributeName* ATTR_REPEAT_TEMPLATE;
628 static nsHtml5AttributeName* ATTR_ARIA_DESCRIBEDBY;
629 static nsHtml5AttributeName* ATTR_CONTENTSTYLETYPE;
630 static nsHtml5AttributeName* ATTR_FONT_SIZE_ADJUST;
631 static nsHtml5AttributeName* ATTR_KERNELUNITLENGTH;
632 static nsHtml5AttributeName* ATTR_ONBEFOREACTIVATE;
633 static nsHtml5AttributeName* ATTR_ONPROPERTYCHANGE;
634 static nsHtml5AttributeName* ATTR_ONDATASETCHANGED;
635 static nsHtml5AttributeName* ATTR_MASKCONTENTUNITS;
636 static nsHtml5AttributeName* ATTR_PATTERNTRANSFORM;
637 static nsHtml5AttributeName* ATTR_REQUIREDFEATURES;
638 static nsHtml5AttributeName* ATTR_RENDERING_INTENT;
639 static nsHtml5AttributeName* ATTR_SPECULAREXPONENT;
640 static nsHtml5AttributeName* ATTR_SPECULARCONSTANT;
641 static nsHtml5AttributeName* ATTR_SUPERSCRIPTSHIFT;
642 static nsHtml5AttributeName* ATTR_STROKE_DASHARRAY;
643 static nsHtml5AttributeName* ATTR_XCHANNELSELECTOR;
644 static nsHtml5AttributeName* ATTR_YCHANNELSELECTOR;
645 static nsHtml5AttributeName* ATTR_ARIA_AUTOCOMPLETE;
646 static nsHtml5AttributeName* ATTR_CONTENTSCRIPTTYPE;
647 static nsHtml5AttributeName* ATTR_ENABLE_BACKGROUND;
648 static nsHtml5AttributeName* ATTR_DOMINANT_BASELINE;
649 static nsHtml5AttributeName* ATTR_GRADIENTTRANSFORM;
650 static nsHtml5AttributeName* ATTR_ONBEFORDEACTIVATE;
651 static nsHtml5AttributeName* ATTR_ONDATASETCOMPLETE;
652 static nsHtml5AttributeName* ATTR_OVERLINE_POSITION;
653 static nsHtml5AttributeName* ATTR_ONBEFOREEDITFOCUS;
654 static nsHtml5AttributeName* ATTR_LIMITINGCONEANGLE;
655 static nsHtml5AttributeName* ATTR_VERYTHINMATHSPACE;
656 static nsHtml5AttributeName* ATTR_STROKE_DASHOFFSET;
657 static nsHtml5AttributeName* ATTR_STROKE_MITERLIMIT;
658 static nsHtml5AttributeName* ATTR_ALIGNMENT_BASELINE;
659 static nsHtml5AttributeName* ATTR_ONREADYSTATECHANGE;
660 static nsHtml5AttributeName* ATTR_OVERLINE_THICKNESS;
661 static nsHtml5AttributeName* ATTR_UNDERLINE_POSITION;
662 static nsHtml5AttributeName* ATTR_VERYTHICKMATHSPACE;
663 static nsHtml5AttributeName* ATTR_REQUIREDEXTENSIONS;
664 static nsHtml5AttributeName* ATTR_COLOR_INTERPOLATION;
665 static nsHtml5AttributeName* ATTR_UNDERLINE_THICKNESS;
666 static nsHtml5AttributeName* ATTR_PRESERVEASPECTRATIO;
667 static nsHtml5AttributeName* ATTR_PATTERNCONTENTUNITS;
668 static nsHtml5AttributeName* ATTR_ARIA_MULTISELECTABLE;
669 static nsHtml5AttributeName* ATTR_SCRIPTSIZEMULTIPLIER;
670 static nsHtml5AttributeName* ATTR_ARIA_ACTIVEDESCENDANT;
671 static nsHtml5AttributeName* ATTR_VERYVERYTHINMATHSPACE;
672 static nsHtml5AttributeName* ATTR_VERYVERYTHICKMATHSPACE;
673 static nsHtml5AttributeName* ATTR_STRIKETHROUGH_POSITION;
674 static nsHtml5AttributeName* ATTR_STRIKETHROUGH_THICKNESS;
675 static nsHtml5AttributeName* ATTR_EXTERNALRESOURCESREQUIRED;
676 static nsHtml5AttributeName* ATTR_GLYPH_ORIENTATION_VERTICAL;
677 static nsHtml5AttributeName* ATTR_COLOR_INTERPOLATION_FILTERS;
678 static nsHtml5AttributeName* ATTR_GLYPH_ORIENTATION_HORIZONTAL;
679 private:
680 static nsHtml5AttributeName** ATTRIBUTE_NAMES;
681 static staticJArray<int32_t,int32_t> ATTRIBUTE_HASHES;
682 public:
683 static void initializeStatics();
684 static void releaseStatics();
687 #define NS_HTML5ATTRIBUTE_NAME_HTML 0
688 #define NS_HTML5ATTRIBUTE_NAME_MATHML 1
689 #define NS_HTML5ATTRIBUTE_NAME_SVG 2
692 #endif