parser/html/nsHtml5ElementName.h

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial