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 ElementName.java instead and regenerate.
26 : */
27 :
28 : #ifndef nsHtml5ElementName_h__
29 : #define nsHtml5ElementName_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 :
46 : class nsHtml5StreamParser;
47 :
48 : class nsHtml5Tokenizer;
49 : class nsHtml5TreeBuilder;
50 : class nsHtml5MetaScanner;
51 : class nsHtml5AttributeName;
52 : class nsHtml5HtmlAttributes;
53 : class nsHtml5UTF16Buffer;
54 : class nsHtml5StateSnapshot;
55 : class nsHtml5Portability;
56 :
57 :
58 : class nsHtml5ElementName
59 : {
60 : public:
61 : static nsHtml5ElementName* ELT_NULL_ELEMENT_NAME;
62 : nsIAtom* name;
63 : nsIAtom* camelCaseName;
64 : PRInt32 flags;
65 737 : inline PRInt32 getFlags()
66 : {
67 737 : return flags;
68 : }
69 :
70 : PRInt32 getGroup();
71 : static nsHtml5ElementName* elementNameByBuffer(PRUnichar* buf, PRInt32 offset, PRInt32 length, nsHtml5AtomTable* interner);
72 : private:
73 : static PRInt32 bufToHash(PRUnichar* buf, PRInt32 len);
74 : nsHtml5ElementName(nsIAtom* name, nsIAtom* camelCaseName, PRInt32 flags);
75 : protected:
76 : nsHtml5ElementName(nsIAtom* name);
77 : public:
78 : virtual void release();
79 : ~nsHtml5ElementName();
80 : virtual nsHtml5ElementName* cloneElementName(nsHtml5AtomTable* interner);
81 : static nsHtml5ElementName* ELT_A;
82 : static nsHtml5ElementName* ELT_B;
83 : static nsHtml5ElementName* ELT_G;
84 : static nsHtml5ElementName* ELT_I;
85 : static nsHtml5ElementName* ELT_P;
86 : static nsHtml5ElementName* ELT_Q;
87 : static nsHtml5ElementName* ELT_S;
88 : static nsHtml5ElementName* ELT_U;
89 : static nsHtml5ElementName* ELT_BR;
90 : static nsHtml5ElementName* ELT_CI;
91 : static nsHtml5ElementName* ELT_CN;
92 : static nsHtml5ElementName* ELT_DD;
93 : static nsHtml5ElementName* ELT_DL;
94 : static nsHtml5ElementName* ELT_DT;
95 : static nsHtml5ElementName* ELT_EM;
96 : static nsHtml5ElementName* ELT_EQ;
97 : static nsHtml5ElementName* ELT_FN;
98 : static nsHtml5ElementName* ELT_H1;
99 : static nsHtml5ElementName* ELT_H2;
100 : static nsHtml5ElementName* ELT_H3;
101 : static nsHtml5ElementName* ELT_H4;
102 : static nsHtml5ElementName* ELT_H5;
103 : static nsHtml5ElementName* ELT_H6;
104 : static nsHtml5ElementName* ELT_GT;
105 : static nsHtml5ElementName* ELT_HR;
106 : static nsHtml5ElementName* ELT_IN;
107 : static nsHtml5ElementName* ELT_LI;
108 : static nsHtml5ElementName* ELT_LN;
109 : static nsHtml5ElementName* ELT_LT;
110 : static nsHtml5ElementName* ELT_MI;
111 : static nsHtml5ElementName* ELT_MN;
112 : static nsHtml5ElementName* ELT_MO;
113 : static nsHtml5ElementName* ELT_MS;
114 : static nsHtml5ElementName* ELT_OL;
115 : static nsHtml5ElementName* ELT_OR;
116 : static nsHtml5ElementName* ELT_PI;
117 : static nsHtml5ElementName* ELT_RP;
118 : static nsHtml5ElementName* ELT_RT;
119 : static nsHtml5ElementName* ELT_TD;
120 : static nsHtml5ElementName* ELT_TH;
121 : static nsHtml5ElementName* ELT_TR;
122 : static nsHtml5ElementName* ELT_TT;
123 : static nsHtml5ElementName* ELT_UL;
124 : static nsHtml5ElementName* ELT_AND;
125 : static nsHtml5ElementName* ELT_ARG;
126 : static nsHtml5ElementName* ELT_ABS;
127 : static nsHtml5ElementName* ELT_BIG;
128 : static nsHtml5ElementName* ELT_BDO;
129 : static nsHtml5ElementName* ELT_CSC;
130 : static nsHtml5ElementName* ELT_COL;
131 : static nsHtml5ElementName* ELT_COS;
132 : static nsHtml5ElementName* ELT_COT;
133 : static nsHtml5ElementName* ELT_DEL;
134 : static nsHtml5ElementName* ELT_DFN;
135 : static nsHtml5ElementName* ELT_DIR;
136 : static nsHtml5ElementName* ELT_DIV;
137 : static nsHtml5ElementName* ELT_EXP;
138 : static nsHtml5ElementName* ELT_GCD;
139 : static nsHtml5ElementName* ELT_GEQ;
140 : static nsHtml5ElementName* ELT_IMG;
141 : static nsHtml5ElementName* ELT_INS;
142 : static nsHtml5ElementName* ELT_INT;
143 : static nsHtml5ElementName* ELT_KBD;
144 : static nsHtml5ElementName* ELT_LOG;
145 : static nsHtml5ElementName* ELT_LCM;
146 : static nsHtml5ElementName* ELT_LEQ;
147 : static nsHtml5ElementName* ELT_MTD;
148 : static nsHtml5ElementName* ELT_MIN;
149 : static nsHtml5ElementName* ELT_MAP;
150 : static nsHtml5ElementName* ELT_MTR;
151 : static nsHtml5ElementName* ELT_MAX;
152 : static nsHtml5ElementName* ELT_NEQ;
153 : static nsHtml5ElementName* ELT_NOT;
154 : static nsHtml5ElementName* ELT_NAV;
155 : static nsHtml5ElementName* ELT_PRE;
156 : static nsHtml5ElementName* ELT_REM;
157 : static nsHtml5ElementName* ELT_SUB;
158 : static nsHtml5ElementName* ELT_SEC;
159 : static nsHtml5ElementName* ELT_SVG;
160 : static nsHtml5ElementName* ELT_SUM;
161 : static nsHtml5ElementName* ELT_SIN;
162 : static nsHtml5ElementName* ELT_SEP;
163 : static nsHtml5ElementName* ELT_SUP;
164 : static nsHtml5ElementName* ELT_SET;
165 : static nsHtml5ElementName* ELT_TAN;
166 : static nsHtml5ElementName* ELT_USE;
167 : static nsHtml5ElementName* ELT_VAR;
168 : static nsHtml5ElementName* ELT_WBR;
169 : static nsHtml5ElementName* ELT_XMP;
170 : static nsHtml5ElementName* ELT_XOR;
171 : static nsHtml5ElementName* ELT_AREA;
172 : static nsHtml5ElementName* ELT_ABBR;
173 : static nsHtml5ElementName* ELT_BASE;
174 : static nsHtml5ElementName* ELT_BVAR;
175 : static nsHtml5ElementName* ELT_BODY;
176 : static nsHtml5ElementName* ELT_CARD;
177 : static nsHtml5ElementName* ELT_CODE;
178 : static nsHtml5ElementName* ELT_CITE;
179 : static nsHtml5ElementName* ELT_CSCH;
180 : static nsHtml5ElementName* ELT_COSH;
181 : static nsHtml5ElementName* ELT_COTH;
182 : static nsHtml5ElementName* ELT_CURL;
183 : static nsHtml5ElementName* ELT_DESC;
184 : static nsHtml5ElementName* ELT_DIFF;
185 : static nsHtml5ElementName* ELT_DEFS;
186 : static nsHtml5ElementName* ELT_FORM;
187 : static nsHtml5ElementName* ELT_FONT;
188 : static nsHtml5ElementName* ELT_GRAD;
189 : static nsHtml5ElementName* ELT_HEAD;
190 : static nsHtml5ElementName* ELT_HTML;
191 : static nsHtml5ElementName* ELT_LINE;
192 : static nsHtml5ElementName* ELT_LINK;
193 : static nsHtml5ElementName* ELT_LIST;
194 : static nsHtml5ElementName* ELT_META;
195 : static nsHtml5ElementName* ELT_MSUB;
196 : static nsHtml5ElementName* ELT_MODE;
197 : static nsHtml5ElementName* ELT_MATH;
198 : static nsHtml5ElementName* ELT_MARK;
199 : static nsHtml5ElementName* ELT_MASK;
200 : static nsHtml5ElementName* ELT_MEAN;
201 : static nsHtml5ElementName* ELT_MSUP;
202 : static nsHtml5ElementName* ELT_MENU;
203 : static nsHtml5ElementName* ELT_MROW;
204 : static nsHtml5ElementName* ELT_NONE;
205 : static nsHtml5ElementName* ELT_NOBR;
206 : static nsHtml5ElementName* ELT_NEST;
207 : static nsHtml5ElementName* ELT_PATH;
208 : static nsHtml5ElementName* ELT_PLUS;
209 : static nsHtml5ElementName* ELT_RULE;
210 : static nsHtml5ElementName* ELT_REAL;
211 : static nsHtml5ElementName* ELT_RELN;
212 : static nsHtml5ElementName* ELT_RECT;
213 : static nsHtml5ElementName* ELT_ROOT;
214 : static nsHtml5ElementName* ELT_RUBY;
215 : static nsHtml5ElementName* ELT_SECH;
216 : static nsHtml5ElementName* ELT_SINH;
217 : static nsHtml5ElementName* ELT_SPAN;
218 : static nsHtml5ElementName* ELT_SAMP;
219 : static nsHtml5ElementName* ELT_STOP;
220 : static nsHtml5ElementName* ELT_SDEV;
221 : static nsHtml5ElementName* ELT_TIME;
222 : static nsHtml5ElementName* ELT_TRUE;
223 : static nsHtml5ElementName* ELT_TREF;
224 : static nsHtml5ElementName* ELT_TANH;
225 : static nsHtml5ElementName* ELT_TEXT;
226 : static nsHtml5ElementName* ELT_VIEW;
227 : static nsHtml5ElementName* ELT_ASIDE;
228 : static nsHtml5ElementName* ELT_AUDIO;
229 : static nsHtml5ElementName* ELT_APPLY;
230 : static nsHtml5ElementName* ELT_EMBED;
231 : static nsHtml5ElementName* ELT_FRAME;
232 : static nsHtml5ElementName* ELT_FALSE;
233 : static nsHtml5ElementName* ELT_FLOOR;
234 : static nsHtml5ElementName* ELT_GLYPH;
235 : static nsHtml5ElementName* ELT_HKERN;
236 : static nsHtml5ElementName* ELT_IMAGE;
237 : static nsHtml5ElementName* ELT_IDENT;
238 : static nsHtml5ElementName* ELT_INPUT;
239 : static nsHtml5ElementName* ELT_LABEL;
240 : static nsHtml5ElementName* ELT_LIMIT;
241 : static nsHtml5ElementName* ELT_MFRAC;
242 : static nsHtml5ElementName* ELT_MPATH;
243 : static nsHtml5ElementName* ELT_METER;
244 : static nsHtml5ElementName* ELT_MOVER;
245 : static nsHtml5ElementName* ELT_MINUS;
246 : static nsHtml5ElementName* ELT_MROOT;
247 : static nsHtml5ElementName* ELT_MSQRT;
248 : static nsHtml5ElementName* ELT_MTEXT;
249 : static nsHtml5ElementName* ELT_NOTIN;
250 : static nsHtml5ElementName* ELT_PIECE;
251 : static nsHtml5ElementName* ELT_PARAM;
252 : static nsHtml5ElementName* ELT_POWER;
253 : static nsHtml5ElementName* ELT_REALS;
254 : static nsHtml5ElementName* ELT_STYLE;
255 : static nsHtml5ElementName* ELT_SMALL;
256 : static nsHtml5ElementName* ELT_THEAD;
257 : static nsHtml5ElementName* ELT_TABLE;
258 : static nsHtml5ElementName* ELT_TITLE;
259 : static nsHtml5ElementName* ELT_TRACK;
260 : static nsHtml5ElementName* ELT_TSPAN;
261 : static nsHtml5ElementName* ELT_TIMES;
262 : static nsHtml5ElementName* ELT_TFOOT;
263 : static nsHtml5ElementName* ELT_TBODY;
264 : static nsHtml5ElementName* ELT_UNION;
265 : static nsHtml5ElementName* ELT_VKERN;
266 : static nsHtml5ElementName* ELT_VIDEO;
267 : static nsHtml5ElementName* ELT_ARCSEC;
268 : static nsHtml5ElementName* ELT_ARCCSC;
269 : static nsHtml5ElementName* ELT_ARCTAN;
270 : static nsHtml5ElementName* ELT_ARCSIN;
271 : static nsHtml5ElementName* ELT_ARCCOS;
272 : static nsHtml5ElementName* ELT_APPLET;
273 : static nsHtml5ElementName* ELT_ARCCOT;
274 : static nsHtml5ElementName* ELT_APPROX;
275 : static nsHtml5ElementName* ELT_BUTTON;
276 : static nsHtml5ElementName* ELT_CIRCLE;
277 : static nsHtml5ElementName* ELT_CENTER;
278 : static nsHtml5ElementName* ELT_CURSOR;
279 : static nsHtml5ElementName* ELT_CANVAS;
280 : static nsHtml5ElementName* ELT_DIVIDE;
281 : static nsHtml5ElementName* ELT_DEGREE;
282 : static nsHtml5ElementName* ELT_DOMAIN;
283 : static nsHtml5ElementName* ELT_EXISTS;
284 : static nsHtml5ElementName* ELT_FETILE;
285 : static nsHtml5ElementName* ELT_FIGURE;
286 : static nsHtml5ElementName* ELT_FORALL;
287 : static nsHtml5ElementName* ELT_FILTER;
288 : static nsHtml5ElementName* ELT_FOOTER;
289 : static nsHtml5ElementName* ELT_HGROUP;
290 : static nsHtml5ElementName* ELT_HEADER;
291 : static nsHtml5ElementName* ELT_IFRAME;
292 : static nsHtml5ElementName* ELT_KEYGEN;
293 : static nsHtml5ElementName* ELT_LAMBDA;
294 : static nsHtml5ElementName* ELT_LEGEND;
295 : static nsHtml5ElementName* ELT_MSPACE;
296 : static nsHtml5ElementName* ELT_MTABLE;
297 : static nsHtml5ElementName* ELT_MSTYLE;
298 : static nsHtml5ElementName* ELT_MGLYPH;
299 : static nsHtml5ElementName* ELT_MEDIAN;
300 : static nsHtml5ElementName* ELT_MUNDER;
301 : static nsHtml5ElementName* ELT_MARKER;
302 : static nsHtml5ElementName* ELT_MERROR;
303 : static nsHtml5ElementName* ELT_MOMENT;
304 : static nsHtml5ElementName* ELT_MATRIX;
305 : static nsHtml5ElementName* ELT_OPTION;
306 : static nsHtml5ElementName* ELT_OBJECT;
307 : static nsHtml5ElementName* ELT_OUTPUT;
308 : static nsHtml5ElementName* ELT_PRIMES;
309 : static nsHtml5ElementName* ELT_SOURCE;
310 : static nsHtml5ElementName* ELT_STRIKE;
311 : static nsHtml5ElementName* ELT_STRONG;
312 : static nsHtml5ElementName* ELT_SWITCH;
313 : static nsHtml5ElementName* ELT_SYMBOL;
314 : static nsHtml5ElementName* ELT_SELECT;
315 : static nsHtml5ElementName* ELT_SUBSET;
316 : static nsHtml5ElementName* ELT_SCRIPT;
317 : static nsHtml5ElementName* ELT_TBREAK;
318 : static nsHtml5ElementName* ELT_VECTOR;
319 : static nsHtml5ElementName* ELT_ARTICLE;
320 : static nsHtml5ElementName* ELT_ANIMATE;
321 : static nsHtml5ElementName* ELT_ARCSECH;
322 : static nsHtml5ElementName* ELT_ARCCSCH;
323 : static nsHtml5ElementName* ELT_ARCTANH;
324 : static nsHtml5ElementName* ELT_ARCSINH;
325 : static nsHtml5ElementName* ELT_ARCCOSH;
326 : static nsHtml5ElementName* ELT_ARCCOTH;
327 : static nsHtml5ElementName* ELT_ACRONYM;
328 : static nsHtml5ElementName* ELT_ADDRESS;
329 : static nsHtml5ElementName* ELT_BGSOUND;
330 : static nsHtml5ElementName* ELT_COMMAND;
331 : static nsHtml5ElementName* ELT_COMPOSE;
332 : static nsHtml5ElementName* ELT_CEILING;
333 : static nsHtml5ElementName* ELT_CSYMBOL;
334 : static nsHtml5ElementName* ELT_CAPTION;
335 : static nsHtml5ElementName* ELT_DISCARD;
336 : static nsHtml5ElementName* ELT_DECLARE;
337 : static nsHtml5ElementName* ELT_DETAILS;
338 : static nsHtml5ElementName* ELT_ELLIPSE;
339 : static nsHtml5ElementName* ELT_FEFUNCA;
340 : static nsHtml5ElementName* ELT_FEFUNCB;
341 : static nsHtml5ElementName* ELT_FEBLEND;
342 : static nsHtml5ElementName* ELT_FEFLOOD;
343 : static nsHtml5ElementName* ELT_FEIMAGE;
344 : static nsHtml5ElementName* ELT_FEMERGE;
345 : static nsHtml5ElementName* ELT_FEFUNCG;
346 : static nsHtml5ElementName* ELT_FEFUNCR;
347 : static nsHtml5ElementName* ELT_HANDLER;
348 : static nsHtml5ElementName* ELT_INVERSE;
349 : static nsHtml5ElementName* ELT_IMPLIES;
350 : static nsHtml5ElementName* ELT_ISINDEX;
351 : static nsHtml5ElementName* ELT_LOGBASE;
352 : static nsHtml5ElementName* ELT_LISTING;
353 : static nsHtml5ElementName* ELT_MFENCED;
354 : static nsHtml5ElementName* ELT_MPADDED;
355 : static nsHtml5ElementName* ELT_MARQUEE;
356 : static nsHtml5ElementName* ELT_MACTION;
357 : static nsHtml5ElementName* ELT_MSUBSUP;
358 : static nsHtml5ElementName* ELT_NOEMBED;
359 : static nsHtml5ElementName* ELT_POLYGON;
360 : static nsHtml5ElementName* ELT_PATTERN;
361 : static nsHtml5ElementName* ELT_PRODUCT;
362 : static nsHtml5ElementName* ELT_SETDIFF;
363 : static nsHtml5ElementName* ELT_SECTION;
364 : static nsHtml5ElementName* ELT_SUMMARY;
365 : static nsHtml5ElementName* ELT_TENDSTO;
366 : static nsHtml5ElementName* ELT_UPLIMIT;
367 : static nsHtml5ElementName* ELT_ALTGLYPH;
368 : static nsHtml5ElementName* ELT_BASEFONT;
369 : static nsHtml5ElementName* ELT_CLIPPATH;
370 : static nsHtml5ElementName* ELT_CODOMAIN;
371 : static nsHtml5ElementName* ELT_COLGROUP;
372 : static nsHtml5ElementName* ELT_EMPTYSET;
373 : static nsHtml5ElementName* ELT_FACTOROF;
374 : static nsHtml5ElementName* ELT_FIELDSET;
375 : static nsHtml5ElementName* ELT_FRAMESET;
376 : static nsHtml5ElementName* ELT_FEOFFSET;
377 : static nsHtml5ElementName* ELT_GLYPHREF;
378 : static nsHtml5ElementName* ELT_INTERVAL;
379 : static nsHtml5ElementName* ELT_INTEGERS;
380 : static nsHtml5ElementName* ELT_INFINITY;
381 : static nsHtml5ElementName* ELT_LISTENER;
382 : static nsHtml5ElementName* ELT_LOWLIMIT;
383 : static nsHtml5ElementName* ELT_METADATA;
384 : static nsHtml5ElementName* ELT_MENCLOSE;
385 : static nsHtml5ElementName* ELT_MENUITEM;
386 : static nsHtml5ElementName* ELT_MPHANTOM;
387 : static nsHtml5ElementName* ELT_NOFRAMES;
388 : static nsHtml5ElementName* ELT_NOSCRIPT;
389 : static nsHtml5ElementName* ELT_OPTGROUP;
390 : static nsHtml5ElementName* ELT_POLYLINE;
391 : static nsHtml5ElementName* ELT_PREFETCH;
392 : static nsHtml5ElementName* ELT_PROGRESS;
393 : static nsHtml5ElementName* ELT_PRSUBSET;
394 : static nsHtml5ElementName* ELT_QUOTIENT;
395 : static nsHtml5ElementName* ELT_SELECTOR;
396 : static nsHtml5ElementName* ELT_TEXTAREA;
397 : static nsHtml5ElementName* ELT_TEXTPATH;
398 : static nsHtml5ElementName* ELT_VARIANCE;
399 : static nsHtml5ElementName* ELT_ANIMATION;
400 : static nsHtml5ElementName* ELT_CONJUGATE;
401 : static nsHtml5ElementName* ELT_CONDITION;
402 : static nsHtml5ElementName* ELT_COMPLEXES;
403 : static nsHtml5ElementName* ELT_FONT_FACE;
404 : static nsHtml5ElementName* ELT_FACTORIAL;
405 : static nsHtml5ElementName* ELT_INTERSECT;
406 : static nsHtml5ElementName* ELT_IMAGINARY;
407 : static nsHtml5ElementName* ELT_LAPLACIAN;
408 : static nsHtml5ElementName* ELT_MATRIXROW;
409 : static nsHtml5ElementName* ELT_NOTSUBSET;
410 : static nsHtml5ElementName* ELT_OTHERWISE;
411 : static nsHtml5ElementName* ELT_PIECEWISE;
412 : static nsHtml5ElementName* ELT_PLAINTEXT;
413 : static nsHtml5ElementName* ELT_RATIONALS;
414 : static nsHtml5ElementName* ELT_SEMANTICS;
415 : static nsHtml5ElementName* ELT_TRANSPOSE;
416 : static nsHtml5ElementName* ELT_ANNOTATION;
417 : static nsHtml5ElementName* ELT_BLOCKQUOTE;
418 : static nsHtml5ElementName* ELT_DIVERGENCE;
419 : static nsHtml5ElementName* ELT_EULERGAMMA;
420 : static nsHtml5ElementName* ELT_EQUIVALENT;
421 : static nsHtml5ElementName* ELT_FIGCAPTION;
422 : static nsHtml5ElementName* ELT_IMAGINARYI;
423 : static nsHtml5ElementName* ELT_MALIGNMARK;
424 : static nsHtml5ElementName* ELT_MUNDEROVER;
425 : static nsHtml5ElementName* ELT_MLABELEDTR;
426 : static nsHtml5ElementName* ELT_NOTANUMBER;
427 : static nsHtml5ElementName* ELT_SOLIDCOLOR;
428 : static nsHtml5ElementName* ELT_ALTGLYPHDEF;
429 : static nsHtml5ElementName* ELT_DETERMINANT;
430 : static nsHtml5ElementName* ELT_FEMERGENODE;
431 : static nsHtml5ElementName* ELT_FECOMPOSITE;
432 : static nsHtml5ElementName* ELT_FESPOTLIGHT;
433 : static nsHtml5ElementName* ELT_MALIGNGROUP;
434 : static nsHtml5ElementName* ELT_MPRESCRIPTS;
435 : static nsHtml5ElementName* ELT_MOMENTABOUT;
436 : static nsHtml5ElementName* ELT_NOTPRSUBSET;
437 : static nsHtml5ElementName* ELT_PARTIALDIFF;
438 : static nsHtml5ElementName* ELT_ALTGLYPHITEM;
439 : static nsHtml5ElementName* ELT_ANIMATECOLOR;
440 : static nsHtml5ElementName* ELT_DATATEMPLATE;
441 : static nsHtml5ElementName* ELT_EXPONENTIALE;
442 : static nsHtml5ElementName* ELT_FETURBULENCE;
443 : static nsHtml5ElementName* ELT_FEPOINTLIGHT;
444 : static nsHtml5ElementName* ELT_FEMORPHOLOGY;
445 : static nsHtml5ElementName* ELT_OUTERPRODUCT;
446 : static nsHtml5ElementName* ELT_ANIMATEMOTION;
447 : static nsHtml5ElementName* ELT_COLOR_PROFILE;
448 : static nsHtml5ElementName* ELT_FONT_FACE_SRC;
449 : static nsHtml5ElementName* ELT_FONT_FACE_URI;
450 : static nsHtml5ElementName* ELT_FOREIGNOBJECT;
451 : static nsHtml5ElementName* ELT_FECOLORMATRIX;
452 : static nsHtml5ElementName* ELT_MISSING_GLYPH;
453 : static nsHtml5ElementName* ELT_MMULTISCRIPTS;
454 : static nsHtml5ElementName* ELT_SCALARPRODUCT;
455 : static nsHtml5ElementName* ELT_VECTORPRODUCT;
456 : static nsHtml5ElementName* ELT_ANNOTATION_XML;
457 : static nsHtml5ElementName* ELT_DEFINITION_SRC;
458 : static nsHtml5ElementName* ELT_FONT_FACE_NAME;
459 : static nsHtml5ElementName* ELT_FEGAUSSIANBLUR;
460 : static nsHtml5ElementName* ELT_FEDISTANTLIGHT;
461 : static nsHtml5ElementName* ELT_LINEARGRADIENT;
462 : static nsHtml5ElementName* ELT_NATURALNUMBERS;
463 : static nsHtml5ElementName* ELT_RADIALGRADIENT;
464 : static nsHtml5ElementName* ELT_ANIMATETRANSFORM;
465 : static nsHtml5ElementName* ELT_CARTESIANPRODUCT;
466 : static nsHtml5ElementName* ELT_FONT_FACE_FORMAT;
467 : static nsHtml5ElementName* ELT_FECONVOLVEMATRIX;
468 : static nsHtml5ElementName* ELT_FEDIFFUSELIGHTING;
469 : static nsHtml5ElementName* ELT_FEDISPLACEMENTMAP;
470 : static nsHtml5ElementName* ELT_FESPECULARLIGHTING;
471 : static nsHtml5ElementName* ELT_DOMAINOFAPPLICATION;
472 : static nsHtml5ElementName* ELT_FECOMPONENTTRANSFER;
473 : private:
474 : static nsHtml5ElementName** ELEMENT_NAMES;
475 : static staticJArray<PRInt32,PRInt32> ELEMENT_HASHES;
476 : public:
477 : static void initializeStatics();
478 : static void releaseStatics();
479 : };
480 :
481 : #define NS_HTML5ELEMENT_NAME_GROUP_MASK 127
482 : #define NS_HTML5ELEMENT_NAME_CUSTOM (1 << 30)
483 : #define NS_HTML5ELEMENT_NAME_SPECIAL (1 << 29)
484 : #define NS_HTML5ELEMENT_NAME_FOSTER_PARENTING (1 << 28)
485 : #define NS_HTML5ELEMENT_NAME_SCOPING (1 << 27)
486 : #define NS_HTML5ELEMENT_NAME_SCOPING_AS_SVG (1 << 26)
487 : #define NS_HTML5ELEMENT_NAME_SCOPING_AS_MATHML (1 << 25)
488 : #define NS_HTML5ELEMENT_NAME_HTML_INTEGRATION_POINT (1 << 24)
489 : #define NS_HTML5ELEMENT_NAME_OPTIONAL_END_TAG (1 << 23)
490 :
491 :
492 : #endif
493 :
|