PageRenderTime 81ms CodeModel.GetById 18ms app.highlight 58ms RepoModel.GetById 1ms app.codeStats 0ms

/parser/html/nsHtml5AttributeName.h

http://github.com/zpao/v8monkey
C Header | 689 lines | 653 code | 11 blank | 25 comment | 0 complexity | c121f6fc8107eed4bf5524185adffceb MD5 | raw file
  1/*
  2 * Copyright (c) 2008-2011 Mozilla Foundation
  3 *
  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:
 10 *
 11 * The above copyright notice and this permission notice shall be included in 
 12 * all copies or substantial portions of the Software.
 13 *
 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.
 21 */
 22
 23/*
 24 * THIS IS A GENERATED FILE. PLEASE DO NOT EDIT.
 25 * Please edit AttributeName.java instead and regenerate.
 26 */
 27
 28#ifndef nsHtml5AttributeName_h__
 29#define nsHtml5AttributeName_h__
 30
 31#include "prtypes.h"
 32#include "nsIAtom.h"
 33#include "nsHtml5AtomTable.h"
 34#include "nsString.h"
 35#include "nsINameSpaceManager.h"
 36#include "nsIContent.h"
 37#include "nsTraceRefcnt.h"
 38#include "jArray.h"
 39#include "nsHtml5ArrayCopy.h"
 40#include "nsAHtml5TreeBuilderState.h"
 41#include "nsHtml5Atoms.h"
 42#include "nsHtml5ByteReadable.h"
 43#include "nsIUnicodeDecoder.h"
 44#include "nsHtml5Macros.h"
 45
 46class nsHtml5StreamParser;
 47
 48class nsHtml5Tokenizer;
 49class nsHtml5TreeBuilder;
 50class nsHtml5MetaScanner;
 51class nsHtml5ElementName;
 52class nsHtml5HtmlAttributes;
 53class nsHtml5UTF16Buffer;
 54class nsHtml5StateSnapshot;
 55class nsHtml5Portability;
 56
 57
 58class nsHtml5AttributeName
 59{
 60  public:
 61    static PRInt32* ALL_NO_NS;
 62  private:
 63    static PRInt32* XMLNS_NS;
 64    static PRInt32* XML_NS;
 65    static PRInt32* 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(PRUnichar* buf, PRInt32 offset, PRInt32 length, nsHtml5AtomTable* interner);
 78  private:
 79    static PRInt32 bufToHash(PRUnichar* buf, PRInt32 len);
 80    PRInt32* uri;
 81    nsIAtom** local;
 82    nsIAtom** prefix;
 83  protected:
 84    nsHtml5AttributeName(PRInt32* uri, nsIAtom** local, nsIAtom** prefix);
 85  private:
 86    static nsHtml5AttributeName* createAttributeName(nsIAtom* name);
 87  public:
 88    virtual void release();
 89    ~nsHtml5AttributeName();
 90    virtual nsHtml5AttributeName* cloneAttributeName(nsHtml5AtomTable* interner);
 91    PRInt32 getUri(PRInt32 mode);
 92    nsIAtom* getLocal(PRInt32 mode);
 93    nsIAtom* getPrefix(PRInt32 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_STEMV;
215    static nsHtml5AttributeName* ATTR_START;
216    static nsHtml5AttributeName* ATTR_XMLNS;
217    static nsHtml5AttributeName* ATTR_ACCEPT;
218    static nsHtml5AttributeName* ATTR_ACCENT;
219    static nsHtml5AttributeName* ATTR_ASCENT;
220    static nsHtml5AttributeName* ATTR_ACTIVE;
221    static nsHtml5AttributeName* ATTR_ALTIMG;
222    static nsHtml5AttributeName* ATTR_ACTION;
223    static nsHtml5AttributeName* ATTR_BORDER;
224    static nsHtml5AttributeName* ATTR_CURSOR;
225    static nsHtml5AttributeName* ATTR_COORDS;
226    static nsHtml5AttributeName* ATTR_FILTER;
227    static nsHtml5AttributeName* ATTR_FORMAT;
228    static nsHtml5AttributeName* ATTR_HIDDEN;
229    static nsHtml5AttributeName* ATTR_HSPACE;
230    static nsHtml5AttributeName* ATTR_HEIGHT;
231    static nsHtml5AttributeName* ATTR_ONMOVE;
232    static nsHtml5AttributeName* ATTR_ONLOAD;
233    static nsHtml5AttributeName* ATTR_ONDRAG;
234    static nsHtml5AttributeName* ATTR_ORIGIN;
235    static nsHtml5AttributeName* ATTR_ONZOOM;
236    static nsHtml5AttributeName* ATTR_ONHELP;
237    static nsHtml5AttributeName* ATTR_ONSTOP;
238    static nsHtml5AttributeName* ATTR_ONDROP;
239    static nsHtml5AttributeName* ATTR_ONBLUR;
240    static nsHtml5AttributeName* ATTR_OBJECT;
241    static nsHtml5AttributeName* ATTR_OFFSET;
242    static nsHtml5AttributeName* ATTR_ORIENT;
243    static nsHtml5AttributeName* ATTR_ONCOPY;
244    static nsHtml5AttributeName* ATTR_NOWRAP;
245    static nsHtml5AttributeName* ATTR_NOHREF;
246    static nsHtml5AttributeName* ATTR_MACROS;
247    static nsHtml5AttributeName* ATTR_METHOD;
248    static nsHtml5AttributeName* ATTR_LOWSRC;
249    static nsHtml5AttributeName* ATTR_LSPACE;
250    static nsHtml5AttributeName* ATTR_LQUOTE;
251    static nsHtml5AttributeName* ATTR_USEMAP;
252    static nsHtml5AttributeName* ATTR_WIDTHS;
253    static nsHtml5AttributeName* ATTR_TARGET;
254    static nsHtml5AttributeName* ATTR_VALUES;
255    static nsHtml5AttributeName* ATTR_VALIGN;
256    static nsHtml5AttributeName* ATTR_VSPACE;
257    static nsHtml5AttributeName* ATTR_POSTER;
258    static nsHtml5AttributeName* ATTR_POINTS;
259    static nsHtml5AttributeName* ATTR_PROMPT;
260    static nsHtml5AttributeName* ATTR_SCOPED;
261    static nsHtml5AttributeName* ATTR_STRING;
262    static nsHtml5AttributeName* ATTR_SCHEME;
263    static nsHtml5AttributeName* ATTR_STROKE;
264    static nsHtml5AttributeName* ATTR_RADIUS;
265    static nsHtml5AttributeName* ATTR_RESULT;
266    static nsHtml5AttributeName* ATTR_REPEAT;
267    static nsHtml5AttributeName* ATTR_RSPACE;
268    static nsHtml5AttributeName* ATTR_ROTATE;
269    static nsHtml5AttributeName* ATTR_RQUOTE;
270    static nsHtml5AttributeName* ATTR_ALTTEXT;
271    static nsHtml5AttributeName* ATTR_ARCHIVE;
272    static nsHtml5AttributeName* ATTR_AZIMUTH;
273    static nsHtml5AttributeName* ATTR_CLOSURE;
274    static nsHtml5AttributeName* ATTR_CHECKED;
275    static nsHtml5AttributeName* ATTR_CLASSID;
276    static nsHtml5AttributeName* ATTR_CHAROFF;
277    static nsHtml5AttributeName* ATTR_BGCOLOR;
278    static nsHtml5AttributeName* ATTR_COLSPAN;
279    static nsHtml5AttributeName* ATTR_CHARSET;
280    static nsHtml5AttributeName* ATTR_COMPACT;
281    static nsHtml5AttributeName* ATTR_CONTENT;
282    static nsHtml5AttributeName* ATTR_ENCTYPE;
283    static nsHtml5AttributeName* ATTR_DATASRC;
284    static nsHtml5AttributeName* ATTR_DATAFLD;
285    static nsHtml5AttributeName* ATTR_DECLARE;
286    static nsHtml5AttributeName* ATTR_DISPLAY;
287    static nsHtml5AttributeName* ATTR_DIVISOR;
288    static nsHtml5AttributeName* ATTR_DEFAULT;
289    static nsHtml5AttributeName* ATTR_DESCENT;
290    static nsHtml5AttributeName* ATTR_KERNING;
291    static nsHtml5AttributeName* ATTR_HANGING;
292    static nsHtml5AttributeName* ATTR_HEADERS;
293    static nsHtml5AttributeName* ATTR_ONPASTE;
294    static nsHtml5AttributeName* ATTR_ONCLICK;
295    static nsHtml5AttributeName* ATTR_OPTIMUM;
296    static nsHtml5AttributeName* ATTR_ONBEGIN;
297    static nsHtml5AttributeName* ATTR_ONKEYUP;
298    static nsHtml5AttributeName* ATTR_ONFOCUS;
299    static nsHtml5AttributeName* ATTR_ONERROR;
300    static nsHtml5AttributeName* ATTR_ONINPUT;
301    static nsHtml5AttributeName* ATTR_ONABORT;
302    static nsHtml5AttributeName* ATTR_ONSTART;
303    static nsHtml5AttributeName* ATTR_ONRESET;
304    static nsHtml5AttributeName* ATTR_OPACITY;
305    static nsHtml5AttributeName* ATTR_NOSHADE;
306    static nsHtml5AttributeName* ATTR_MINSIZE;
307    static nsHtml5AttributeName* ATTR_MAXSIZE;
308    static nsHtml5AttributeName* ATTR_LARGEOP;
309    static nsHtml5AttributeName* ATTR_UNICODE;
310    static nsHtml5AttributeName* ATTR_TARGETX;
311    static nsHtml5AttributeName* ATTR_TARGETY;
312    static nsHtml5AttributeName* ATTR_VIEWBOX;
313    static nsHtml5AttributeName* ATTR_VERSION;
314    static nsHtml5AttributeName* ATTR_PATTERN;
315    static nsHtml5AttributeName* ATTR_PROFILE;
316    static nsHtml5AttributeName* ATTR_SPACING;
317    static nsHtml5AttributeName* ATTR_RESTART;
318    static nsHtml5AttributeName* ATTR_ROWSPAN;
319    static nsHtml5AttributeName* ATTR_SANDBOX;
320    static nsHtml5AttributeName* ATTR_SUMMARY;
321    static nsHtml5AttributeName* ATTR_STANDBY;
322    static nsHtml5AttributeName* ATTR_REPLACE;
323    static nsHtml5AttributeName* ATTR_AUTOPLAY;
324    static nsHtml5AttributeName* ATTR_ADDITIVE;
325    static nsHtml5AttributeName* ATTR_CALCMODE;
326    static nsHtml5AttributeName* ATTR_CODETYPE;
327    static nsHtml5AttributeName* ATTR_CODEBASE;
328    static nsHtml5AttributeName* ATTR_CONTROLS;
329    static nsHtml5AttributeName* ATTR_BEVELLED;
330    static nsHtml5AttributeName* ATTR_BASELINE;
331    static nsHtml5AttributeName* ATTR_EXPONENT;
332    static nsHtml5AttributeName* ATTR_EDGEMODE;
333    static nsHtml5AttributeName* ATTR_ENCODING;
334    static nsHtml5AttributeName* ATTR_GLYPHREF;
335    static nsHtml5AttributeName* ATTR_DATETIME;
336    static nsHtml5AttributeName* ATTR_DISABLED;
337    static nsHtml5AttributeName* ATTR_FONTSIZE;
338    static nsHtml5AttributeName* ATTR_KEYTIMES;
339    static nsHtml5AttributeName* ATTR_PANOSE_1;
340    static nsHtml5AttributeName* ATTR_HREFLANG;
341    static nsHtml5AttributeName* ATTR_ONRESIZE;
342    static nsHtml5AttributeName* ATTR_ONCHANGE;
343    static nsHtml5AttributeName* ATTR_ONBOUNCE;
344    static nsHtml5AttributeName* ATTR_ONUNLOAD;
345    static nsHtml5AttributeName* ATTR_ONFINISH;
346    static nsHtml5AttributeName* ATTR_ONSCROLL;
347    static nsHtml5AttributeName* ATTR_OPERATOR;
348    static nsHtml5AttributeName* ATTR_OVERFLOW;
349    static nsHtml5AttributeName* ATTR_ONSUBMIT;
350    static nsHtml5AttributeName* ATTR_ONREPEAT;
351    static nsHtml5AttributeName* ATTR_ONSELECT;
352    static nsHtml5AttributeName* ATTR_NOTATION;
353    static nsHtml5AttributeName* ATTR_NORESIZE;
354    static nsHtml5AttributeName* ATTR_MANIFEST;
355    static nsHtml5AttributeName* ATTR_MATHSIZE;
356    static nsHtml5AttributeName* ATTR_MULTIPLE;
357    static nsHtml5AttributeName* ATTR_LONGDESC;
358    static nsHtml5AttributeName* ATTR_LANGUAGE;
359    static nsHtml5AttributeName* ATTR_TEMPLATE;
360    static nsHtml5AttributeName* ATTR_TABINDEX;
361    static nsHtml5AttributeName* ATTR_READONLY;
362    static nsHtml5AttributeName* ATTR_SELECTED;
363    static nsHtml5AttributeName* ATTR_ROWLINES;
364    static nsHtml5AttributeName* ATTR_SEAMLESS;
365    static nsHtml5AttributeName* ATTR_ROWALIGN;
366    static nsHtml5AttributeName* ATTR_STRETCHY;
367    static nsHtml5AttributeName* ATTR_REQUIRED;
368    static nsHtml5AttributeName* ATTR_XML_BASE;
369    static nsHtml5AttributeName* ATTR_XML_LANG;
370    static nsHtml5AttributeName* ATTR_X_HEIGHT;
371    static nsHtml5AttributeName* ATTR_ARIA_OWNS;
372    static nsHtml5AttributeName* ATTR_AUTOFOCUS;
373    static nsHtml5AttributeName* ATTR_ARIA_SORT;
374    static nsHtml5AttributeName* ATTR_ACCESSKEY;
375    static nsHtml5AttributeName* ATTR_ARIA_BUSY;
376    static nsHtml5AttributeName* ATTR_ARIA_GRAB;
377    static nsHtml5AttributeName* ATTR_AMPLITUDE;
378    static nsHtml5AttributeName* ATTR_ARIA_LIVE;
379    static nsHtml5AttributeName* ATTR_CLIP_RULE;
380    static nsHtml5AttributeName* ATTR_CLIP_PATH;
381    static nsHtml5AttributeName* ATTR_EQUALROWS;
382    static nsHtml5AttributeName* ATTR_ELEVATION;
383    static nsHtml5AttributeName* ATTR_DIRECTION;
384    static nsHtml5AttributeName* ATTR_DRAGGABLE;
385    static nsHtml5AttributeName* ATTR_FILTERRES;
386    static nsHtml5AttributeName* ATTR_FILL_RULE;
387    static nsHtml5AttributeName* ATTR_FONTSTYLE;
388    static nsHtml5AttributeName* ATTR_FONT_SIZE;
389    static nsHtml5AttributeName* ATTR_KEYPOINTS;
390    static nsHtml5AttributeName* ATTR_HIDEFOCUS;
391    static nsHtml5AttributeName* ATTR_ONMESSAGE;
392    static nsHtml5AttributeName* ATTR_INTERCEPT;
393    static nsHtml5AttributeName* ATTR_ONDRAGEND;
394    static nsHtml5AttributeName* ATTR_ONMOVEEND;
395    static nsHtml5AttributeName* ATTR_ONINVALID;
396    static nsHtml5AttributeName* ATTR_ONKEYDOWN;
397    static nsHtml5AttributeName* ATTR_ONFOCUSIN;
398    static nsHtml5AttributeName* ATTR_ONMOUSEUP;
399    static nsHtml5AttributeName* ATTR_INPUTMODE;
400    static nsHtml5AttributeName* ATTR_ONROWEXIT;
401    static nsHtml5AttributeName* ATTR_MATHCOLOR;
402    static nsHtml5AttributeName* ATTR_MASKUNITS;
403    static nsHtml5AttributeName* ATTR_MAXLENGTH;
404    static nsHtml5AttributeName* ATTR_LINEBREAK;
405    static nsHtml5AttributeName* ATTR_TRANSFORM;
406    static nsHtml5AttributeName* ATTR_V_HANGING;
407    static nsHtml5AttributeName* ATTR_VALUETYPE;
408    static nsHtml5AttributeName* ATTR_POINTSATZ;
409    static nsHtml5AttributeName* ATTR_POINTSATX;
410    static nsHtml5AttributeName* ATTR_POINTSATY;
411    static nsHtml5AttributeName* ATTR_SYMMETRIC;
412    static nsHtml5AttributeName* ATTR_SCROLLING;
413    static nsHtml5AttributeName* ATTR_REPEATDUR;
414    static nsHtml5AttributeName* ATTR_SELECTION;
415    static nsHtml5AttributeName* ATTR_SEPARATOR;
416    static nsHtml5AttributeName* ATTR_XML_SPACE;
417    static nsHtml5AttributeName* ATTR_AUTOSUBMIT;
418    static nsHtml5AttributeName* ATTR_ALPHABETIC;
419    static nsHtml5AttributeName* ATTR_ACTIONTYPE;
420    static nsHtml5AttributeName* ATTR_ACCUMULATE;
421    static nsHtml5AttributeName* ATTR_ARIA_LEVEL;
422    static nsHtml5AttributeName* ATTR_COLUMNSPAN;
423    static nsHtml5AttributeName* ATTR_CAP_HEIGHT;
424    static nsHtml5AttributeName* ATTR_BACKGROUND;
425    static nsHtml5AttributeName* ATTR_GLYPH_NAME;
426    static nsHtml5AttributeName* ATTR_GROUPALIGN;
427    static nsHtml5AttributeName* ATTR_FONTFAMILY;
428    static nsHtml5AttributeName* ATTR_FONTWEIGHT;
429    static nsHtml5AttributeName* ATTR_FONT_STYLE;
430    static nsHtml5AttributeName* ATTR_KEYSPLINES;
431    static nsHtml5AttributeName* ATTR_HTTP_EQUIV;
432    static nsHtml5AttributeName* ATTR_ONACTIVATE;
433    static nsHtml5AttributeName* ATTR_OCCURRENCE;
434    static nsHtml5AttributeName* ATTR_IRRELEVANT;
435    static nsHtml5AttributeName* ATTR_ONDBLCLICK;
436    static nsHtml5AttributeName* ATTR_ONDRAGDROP;
437    static nsHtml5AttributeName* ATTR_ONKEYPRESS;
438    static nsHtml5AttributeName* ATTR_ONROWENTER;
439    static nsHtml5AttributeName* ATTR_ONDRAGOVER;
440    static nsHtml5AttributeName* ATTR_ONFOCUSOUT;
441    static nsHtml5AttributeName* ATTR_ONMOUSEOUT;
442    static nsHtml5AttributeName* ATTR_NUMOCTAVES;
443    static nsHtml5AttributeName* ATTR_MARKER_MID;
444    static nsHtml5AttributeName* ATTR_MARKER_END;
445    static nsHtml5AttributeName* ATTR_TEXTLENGTH;
446    static nsHtml5AttributeName* ATTR_VISIBILITY;
447    static nsHtml5AttributeName* ATTR_VIEWTARGET;
448    static nsHtml5AttributeName* ATTR_VERT_ADV_Y;
449    static nsHtml5AttributeName* ATTR_PATHLENGTH;
450    static nsHtml5AttributeName* ATTR_REPEAT_MAX;
451    static nsHtml5AttributeName* ATTR_RADIOGROUP;
452    static nsHtml5AttributeName* ATTR_STOP_COLOR;
453    static nsHtml5AttributeName* ATTR_SEPARATORS;
454    static nsHtml5AttributeName* ATTR_REPEAT_MIN;
455    static nsHtml5AttributeName* ATTR_ROWSPACING;
456    static nsHtml5AttributeName* ATTR_ZOOMANDPAN;
457    static nsHtml5AttributeName* ATTR_XLINK_TYPE;
458    static nsHtml5AttributeName* ATTR_XLINK_ROLE;
459    static nsHtml5AttributeName* ATTR_XLINK_HREF;
460    static nsHtml5AttributeName* ATTR_XLINK_SHOW;
461    static nsHtml5AttributeName* ATTR_ACCENTUNDER;
462    static nsHtml5AttributeName* ATTR_ARIA_SECRET;
463    static nsHtml5AttributeName* ATTR_ARIA_ATOMIC;
464    static nsHtml5AttributeName* ATTR_ARIA_HIDDEN;
465    static nsHtml5AttributeName* ATTR_ARIA_FLOWTO;
466    static nsHtml5AttributeName* ATTR_ARABIC_FORM;
467    static nsHtml5AttributeName* ATTR_CELLPADDING;
468    static nsHtml5AttributeName* ATTR_CELLSPACING;
469    static nsHtml5AttributeName* ATTR_COLUMNWIDTH;
470    static nsHtml5AttributeName* ATTR_CROSSORIGIN;
471    static nsHtml5AttributeName* ATTR_COLUMNALIGN;
472    static nsHtml5AttributeName* ATTR_COLUMNLINES;
473    static nsHtml5AttributeName* ATTR_CONTEXTMENU;
474    static nsHtml5AttributeName* ATTR_BASEPROFILE;
475    static nsHtml5AttributeName* ATTR_FONT_FAMILY;
476    static nsHtml5AttributeName* ATTR_FRAMEBORDER;
477    static nsHtml5AttributeName* ATTR_FILTERUNITS;
478    static nsHtml5AttributeName* ATTR_FLOOD_COLOR;
479    static nsHtml5AttributeName* ATTR_FONT_WEIGHT;
480    static nsHtml5AttributeName* ATTR_HORIZ_ADV_X;
481    static nsHtml5AttributeName* ATTR_ONDRAGLEAVE;
482    static nsHtml5AttributeName* ATTR_ONMOUSEMOVE;
483    static nsHtml5AttributeName* ATTR_ORIENTATION;
484    static nsHtml5AttributeName* ATTR_ONMOUSEDOWN;
485    static nsHtml5AttributeName* ATTR_ONMOUSEOVER;
486    static nsHtml5AttributeName* ATTR_ONDRAGENTER;
487    static nsHtml5AttributeName* ATTR_IDEOGRAPHIC;
488    static nsHtml5AttributeName* ATTR_ONBEFORECUT;
489    static nsHtml5AttributeName* ATTR_ONFORMINPUT;
490    static nsHtml5AttributeName* ATTR_ONDRAGSTART;
491    static nsHtml5AttributeName* ATTR_ONMOVESTART;
492    static nsHtml5AttributeName* ATTR_MARKERUNITS;
493    static nsHtml5AttributeName* ATTR_MATHVARIANT;
494    static nsHtml5AttributeName* ATTR_MARGINWIDTH;
495    static nsHtml5AttributeName* ATTR_MARKERWIDTH;
496    static nsHtml5AttributeName* ATTR_TEXT_ANCHOR;
497    static nsHtml5AttributeName* ATTR_TABLEVALUES;
498    static nsHtml5AttributeName* ATTR_SCRIPTLEVEL;
499    static nsHtml5AttributeName* ATTR_REPEATCOUNT;
500    static nsHtml5AttributeName* ATTR_STITCHTILES;
501    static nsHtml5AttributeName* ATTR_STARTOFFSET;
502    static nsHtml5AttributeName* ATTR_SCROLLDELAY;
503    static nsHtml5AttributeName* ATTR_XMLNS_XLINK;
504    static nsHtml5AttributeName* ATTR_XLINK_TITLE;
505    static nsHtml5AttributeName* ATTR_ARIA_INVALID;
506    static nsHtml5AttributeName* ATTR_ARIA_PRESSED;
507    static nsHtml5AttributeName* ATTR_ARIA_CHECKED;
508    static nsHtml5AttributeName* ATTR_AUTOCOMPLETE;
509    static nsHtml5AttributeName* ATTR_ARIA_SETSIZE;
510    static nsHtml5AttributeName* ATTR_ARIA_CHANNEL;
511    static nsHtml5AttributeName* ATTR_EQUALCOLUMNS;
512    static nsHtml5AttributeName* ATTR_DISPLAYSTYLE;
513    static nsHtml5AttributeName* ATTR_DATAFORMATAS;
514    static nsHtml5AttributeName* ATTR_FILL_OPACITY;
515    static nsHtml5AttributeName* ATTR_FONT_VARIANT;
516    static nsHtml5AttributeName* ATTR_FONT_STRETCH;
517    static nsHtml5AttributeName* ATTR_FRAMESPACING;
518    static nsHtml5AttributeName* ATTR_KERNELMATRIX;
519    static nsHtml5AttributeName* ATTR_ONDEACTIVATE;
520    static nsHtml5AttributeName* ATTR_ONROWSDELETE;
521    static nsHtml5AttributeName* ATTR_ONMOUSELEAVE;
522    static nsHtml5AttributeName* ATTR_ONFORMCHANGE;
523    static nsHtml5AttributeName* ATTR_ONCELLCHANGE;
524    static nsHtml5AttributeName* ATTR_ONMOUSEWHEEL;
525    static nsHtml5AttributeName* ATTR_ONMOUSEENTER;
526    static nsHtml5AttributeName* ATTR_ONAFTERPRINT;
527    static nsHtml5AttributeName* ATTR_ONBEFORECOPY;
528    static nsHtml5AttributeName* ATTR_MARGINHEIGHT;
529    static nsHtml5AttributeName* ATTR_MARKERHEIGHT;
530    static nsHtml5AttributeName* ATTR_MARKER_START;
531    static nsHtml5AttributeName* ATTR_MATHEMATICAL;
532    static nsHtml5AttributeName* ATTR_LENGTHADJUST;
533    static nsHtml5AttributeName* ATTR_UNSELECTABLE;
534    static nsHtml5AttributeName* ATTR_UNICODE_BIDI;
535    static nsHtml5AttributeName* ATTR_UNITS_PER_EM;
536    static nsHtml5AttributeName* ATTR_WORD_SPACING;
537    static nsHtml5AttributeName* ATTR_WRITING_MODE;
538    static nsHtml5AttributeName* ATTR_V_ALPHABETIC;
539    static nsHtml5AttributeName* ATTR_PATTERNUNITS;
540    static nsHtml5AttributeName* ATTR_SPREADMETHOD;
541    static nsHtml5AttributeName* ATTR_SURFACESCALE;
542    static nsHtml5AttributeName* ATTR_STROKE_WIDTH;
543    static nsHtml5AttributeName* ATTR_REPEAT_START;
544    static nsHtml5AttributeName* ATTR_STDDEVIATION;
545    static nsHtml5AttributeName* ATTR_STOP_OPACITY;
546    static nsHtml5AttributeName* ATTR_ARIA_CONTROLS;
547    static nsHtml5AttributeName* ATTR_ARIA_HASPOPUP;
548    static nsHtml5AttributeName* ATTR_ACCENT_HEIGHT;
549    static nsHtml5AttributeName* ATTR_ARIA_VALUENOW;
550    static nsHtml5AttributeName* ATTR_ARIA_RELEVANT;
551    static nsHtml5AttributeName* ATTR_ARIA_POSINSET;
552    static nsHtml5AttributeName* ATTR_ARIA_VALUEMAX;
553    static nsHtml5AttributeName* ATTR_ARIA_READONLY;
554    static nsHtml5AttributeName* ATTR_ARIA_SELECTED;
555    static nsHtml5AttributeName* ATTR_ARIA_REQUIRED;
556    static nsHtml5AttributeName* ATTR_ARIA_EXPANDED;
557    static nsHtml5AttributeName* ATTR_ARIA_DISABLED;
558    static nsHtml5AttributeName* ATTR_ATTRIBUTETYPE;
559    static nsHtml5AttributeName* ATTR_ATTRIBUTENAME;
560    static nsHtml5AttributeName* ATTR_ARIA_DATATYPE;
561    static nsHtml5AttributeName* ATTR_ARIA_VALUEMIN;
562    static nsHtml5AttributeName* ATTR_BASEFREQUENCY;
563    static nsHtml5AttributeName* ATTR_COLUMNSPACING;
564    static nsHtml5AttributeName* ATTR_COLOR_PROFILE;
565    static nsHtml5AttributeName* ATTR_CLIPPATHUNITS;
566    static nsHtml5AttributeName* ATTR_DEFINITIONURL;
567    static nsHtml5AttributeName* ATTR_GRADIENTUNITS;
568    static nsHtml5AttributeName* ATTR_FLOOD_OPACITY;
569    static nsHtml5AttributeName* ATTR_ONAFTERUPDATE;
570    static nsHtml5AttributeName* ATTR_ONERRORUPDATE;
571    static nsHtml5AttributeName* ATTR_ONBEFOREPASTE;
572    static nsHtml5AttributeName* ATTR_ONLOSECAPTURE;
573    static nsHtml5AttributeName* ATTR_ONCONTEXTMENU;
574    static nsHtml5AttributeName* ATTR_ONSELECTSTART;
575    static nsHtml5AttributeName* ATTR_ONBEFOREPRINT;
576    static nsHtml5AttributeName* ATTR_MOVABLELIMITS;
577    static nsHtml5AttributeName* ATTR_LINETHICKNESS;
578    static nsHtml5AttributeName* ATTR_UNICODE_RANGE;
579    static nsHtml5AttributeName* ATTR_THINMATHSPACE;
580    static nsHtml5AttributeName* ATTR_VERT_ORIGIN_X;
581    static nsHtml5AttributeName* ATTR_VERT_ORIGIN_Y;
582    static nsHtml5AttributeName* ATTR_V_IDEOGRAPHIC;
583    static nsHtml5AttributeName* ATTR_PRESERVEALPHA;
584    static nsHtml5AttributeName* ATTR_SCRIPTMINSIZE;
585    static nsHtml5AttributeName* ATTR_SPECIFICATION;
586    static nsHtml5AttributeName* ATTR_XLINK_ACTUATE;
587    static nsHtml5AttributeName* ATTR_XLINK_ARCROLE;
588    static nsHtml5AttributeName* ATTR_ACCEPT_CHARSET;
589    static nsHtml5AttributeName* ATTR_ALIGNMENTSCOPE;
590    static nsHtml5AttributeName* ATTR_ARIA_MULTILINE;
591    static nsHtml5AttributeName* ATTR_BASELINE_SHIFT;
592    static nsHtml5AttributeName* ATTR_HORIZ_ORIGIN_X;
593    static nsHtml5AttributeName* ATTR_HORIZ_ORIGIN_Y;
594    static nsHtml5AttributeName* ATTR_ONBEFOREUPDATE;
595    static nsHtml5AttributeName* ATTR_ONFILTERCHANGE;
596    static nsHtml5AttributeName* ATTR_ONROWSINSERTED;
597    static nsHtml5AttributeName* ATTR_ONBEFOREUNLOAD;
598    static nsHtml5AttributeName* ATTR_MATHBACKGROUND;
599    static nsHtml5AttributeName* ATTR_LETTER_SPACING;
600    static nsHtml5AttributeName* ATTR_LIGHTING_COLOR;
601    static nsHtml5AttributeName* ATTR_THICKMATHSPACE;
602    static nsHtml5AttributeName* ATTR_TEXT_RENDERING;
603    static nsHtml5AttributeName* ATTR_V_MATHEMATICAL;
604    static nsHtml5AttributeName* ATTR_POINTER_EVENTS;
605    static nsHtml5AttributeName* ATTR_PRIMITIVEUNITS;
606    static nsHtml5AttributeName* ATTR_SYSTEMLANGUAGE;
607    static nsHtml5AttributeName* ATTR_STROKE_LINECAP;
608    static nsHtml5AttributeName* ATTR_SUBSCRIPTSHIFT;
609    static nsHtml5AttributeName* ATTR_STROKE_OPACITY;
610    static nsHtml5AttributeName* ATTR_ARIA_DROPEFFECT;
611    static nsHtml5AttributeName* ATTR_ARIA_LABELLEDBY;
612    static nsHtml5AttributeName* ATTR_ARIA_TEMPLATEID;
613    static nsHtml5AttributeName* ATTR_COLOR_RENDERING;
614    static nsHtml5AttributeName* ATTR_CONTENTEDITABLE;
615    static nsHtml5AttributeName* ATTR_DIFFUSECONSTANT;
616    static nsHtml5AttributeName* ATTR_ONDATAAVAILABLE;
617    static nsHtml5AttributeName* ATTR_ONCONTROLSELECT;
618    static nsHtml5AttributeName* ATTR_IMAGE_RENDERING;
619    static nsHtml5AttributeName* ATTR_MEDIUMMATHSPACE;
620    static nsHtml5AttributeName* ATTR_TEXT_DECORATION;
621    static nsHtml5AttributeName* ATTR_SHAPE_RENDERING;
622    static nsHtml5AttributeName* ATTR_STROKE_LINEJOIN;
623    static nsHtml5AttributeName* ATTR_REPEAT_TEMPLATE;
624    static nsHtml5AttributeName* ATTR_ARIA_DESCRIBEDBY;
625    static nsHtml5AttributeName* ATTR_CONTENTSTYLETYPE;
626    static nsHtml5AttributeName* ATTR_FONT_SIZE_ADJUST;
627    static nsHtml5AttributeName* ATTR_KERNELUNITLENGTH;
628    static nsHtml5AttributeName* ATTR_ONBEFOREACTIVATE;
629    static nsHtml5AttributeName* ATTR_ONPROPERTYCHANGE;
630    static nsHtml5AttributeName* ATTR_ONDATASETCHANGED;
631    static nsHtml5AttributeName* ATTR_MASKCONTENTUNITS;
632    static nsHtml5AttributeName* ATTR_PATTERNTRANSFORM;
633    static nsHtml5AttributeName* ATTR_REQUIREDFEATURES;
634    static nsHtml5AttributeName* ATTR_RENDERING_INTENT;
635    static nsHtml5AttributeName* ATTR_SPECULAREXPONENT;
636    static nsHtml5AttributeName* ATTR_SPECULARCONSTANT;
637    static nsHtml5AttributeName* ATTR_SUPERSCRIPTSHIFT;
638    static nsHtml5AttributeName* ATTR_STROKE_DASHARRAY;
639    static nsHtml5AttributeName* ATTR_XCHANNELSELECTOR;
640    static nsHtml5AttributeName* ATTR_YCHANNELSELECTOR;
641    static nsHtml5AttributeName* ATTR_ARIA_AUTOCOMPLETE;
642    static nsHtml5AttributeName* ATTR_CONTENTSCRIPTTYPE;
643    static nsHtml5AttributeName* ATTR_ENABLE_BACKGROUND;
644    static nsHtml5AttributeName* ATTR_DOMINANT_BASELINE;
645    static nsHtml5AttributeName* ATTR_GRADIENTTRANSFORM;
646    static nsHtml5AttributeName* ATTR_ONBEFORDEACTIVATE;
647    static nsHtml5AttributeName* ATTR_ONDATASETCOMPLETE;
648    static nsHtml5AttributeName* ATTR_OVERLINE_POSITION;
649    static nsHtml5AttributeName* ATTR_ONBEFOREEDITFOCUS;
650    static nsHtml5AttributeName* ATTR_LIMITINGCONEANGLE;
651    static nsHtml5AttributeName* ATTR_VERYTHINMATHSPACE;
652    static nsHtml5AttributeName* ATTR_STROKE_DASHOFFSET;
653    static nsHtml5AttributeName* ATTR_STROKE_MITERLIMIT;
654    static nsHtml5AttributeName* ATTR_ALIGNMENT_BASELINE;
655    static nsHtml5AttributeName* ATTR_ONREADYSTATECHANGE;
656    static nsHtml5AttributeName* ATTR_OVERLINE_THICKNESS;
657    static nsHtml5AttributeName* ATTR_UNDERLINE_POSITION;
658    static nsHtml5AttributeName* ATTR_VERYTHICKMATHSPACE;
659    static nsHtml5AttributeName* ATTR_REQUIREDEXTENSIONS;
660    static nsHtml5AttributeName* ATTR_COLOR_INTERPOLATION;
661    static nsHtml5AttributeName* ATTR_UNDERLINE_THICKNESS;
662    static nsHtml5AttributeName* ATTR_PRESERVEASPECTRATIO;
663    static nsHtml5AttributeName* ATTR_PATTERNCONTENTUNITS;
664    static nsHtml5AttributeName* ATTR_ARIA_MULTISELECTABLE;
665    static nsHtml5AttributeName* ATTR_SCRIPTSIZEMULTIPLIER;
666    static nsHtml5AttributeName* ATTR_ARIA_ACTIVEDESCENDANT;
667    static nsHtml5AttributeName* ATTR_VERYVERYTHINMATHSPACE;
668    static nsHtml5AttributeName* ATTR_VERYVERYTHICKMATHSPACE;
669    static nsHtml5AttributeName* ATTR_STRIKETHROUGH_POSITION;
670    static nsHtml5AttributeName* ATTR_STRIKETHROUGH_THICKNESS;
671    static nsHtml5AttributeName* ATTR_EXTERNALRESOURCESREQUIRED;
672    static nsHtml5AttributeName* ATTR_GLYPH_ORIENTATION_VERTICAL;
673    static nsHtml5AttributeName* ATTR_COLOR_INTERPOLATION_FILTERS;
674    static nsHtml5AttributeName* ATTR_GLYPH_ORIENTATION_HORIZONTAL;
675  private:
676    static nsHtml5AttributeName** ATTRIBUTE_NAMES;
677    static staticJArray<PRInt32,PRInt32> ATTRIBUTE_HASHES;
678  public:
679    static void initializeStatics();
680    static void releaseStatics();
681};
682
683#define NS_HTML5ATTRIBUTE_NAME_HTML 0
684#define NS_HTML5ATTRIBUTE_NAME_MATHML 1
685#define NS_HTML5ATTRIBUTE_NAME_SVG 2
686
687
688#endif
689