parser/html/nsHtml5ElementName.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/parser/html/nsHtml5ElementName.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,496 @@
     1.4 +/*
     1.5 + * Copyright (c) 2008-2014 Mozilla Foundation
     1.6 + *
     1.7 + * Permission is hereby granted, free of charge, to any person obtaining a 
     1.8 + * copy of this software and associated documentation files (the "Software"), 
     1.9 + * to deal in the Software without restriction, including without limitation 
    1.10 + * the rights to use, copy, modify, merge, publish, distribute, sublicense, 
    1.11 + * and/or sell copies of the Software, and to permit persons to whom the 
    1.12 + * Software is furnished to do so, subject to the following conditions:
    1.13 + *
    1.14 + * The above copyright notice and this permission notice shall be included in 
    1.15 + * all copies or substantial portions of the Software.
    1.16 + *
    1.17 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
    1.18 + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
    1.19 + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
    1.20 + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
    1.21 + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
    1.22 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
    1.23 + * DEALINGS IN THE SOFTWARE.
    1.24 + */
    1.25 +
    1.26 +/*
    1.27 + * THIS IS A GENERATED FILE. PLEASE DO NOT EDIT.
    1.28 + * Please edit ElementName.java instead and regenerate.
    1.29 + */
    1.30 +
    1.31 +#ifndef nsHtml5ElementName_h
    1.32 +#define nsHtml5ElementName_h
    1.33 +
    1.34 +#include "nsIAtom.h"
    1.35 +#include "nsHtml5AtomTable.h"
    1.36 +#include "nsString.h"
    1.37 +#include "nsNameSpaceManager.h"
    1.38 +#include "nsIContent.h"
    1.39 +#include "nsTraceRefcnt.h"
    1.40 +#include "jArray.h"
    1.41 +#include "nsHtml5ArrayCopy.h"
    1.42 +#include "nsAHtml5TreeBuilderState.h"
    1.43 +#include "nsHtml5Atoms.h"
    1.44 +#include "nsHtml5ByteReadable.h"
    1.45 +#include "nsIUnicodeDecoder.h"
    1.46 +#include "nsHtml5Macros.h"
    1.47 +#include "nsIContentHandle.h"
    1.48 +
    1.49 +class nsHtml5StreamParser;
    1.50 +
    1.51 +class nsHtml5Tokenizer;
    1.52 +class nsHtml5TreeBuilder;
    1.53 +class nsHtml5MetaScanner;
    1.54 +class nsHtml5AttributeName;
    1.55 +class nsHtml5HtmlAttributes;
    1.56 +class nsHtml5UTF16Buffer;
    1.57 +class nsHtml5StateSnapshot;
    1.58 +class nsHtml5Portability;
    1.59 +
    1.60 +
    1.61 +class nsHtml5ElementName
    1.62 +{
    1.63 +  public:
    1.64 +    static nsHtml5ElementName* ELT_NULL_ELEMENT_NAME;
    1.65 +    nsIAtom* name;
    1.66 +    nsIAtom* camelCaseName;
    1.67 +    int32_t flags;
    1.68 +    inline int32_t getFlags()
    1.69 +    {
    1.70 +      return flags;
    1.71 +    }
    1.72 +
    1.73 +    int32_t getGroup();
    1.74 +    bool isCustom();
    1.75 +    static nsHtml5ElementName* elementNameByBuffer(char16_t* buf, int32_t offset, int32_t length, nsHtml5AtomTable* interner);
    1.76 +  private:
    1.77 +    static int32_t bufToHash(char16_t* buf, int32_t len);
    1.78 +    nsHtml5ElementName(nsIAtom* name, nsIAtom* camelCaseName, int32_t flags);
    1.79 +  protected:
    1.80 +    nsHtml5ElementName(nsIAtom* name);
    1.81 +  public:
    1.82 +    virtual void release();
    1.83 +    virtual ~nsHtml5ElementName();
    1.84 +    virtual nsHtml5ElementName* cloneElementName(nsHtml5AtomTable* interner);
    1.85 +    static nsHtml5ElementName* ELT_A;
    1.86 +    static nsHtml5ElementName* ELT_B;
    1.87 +    static nsHtml5ElementName* ELT_G;
    1.88 +    static nsHtml5ElementName* ELT_I;
    1.89 +    static nsHtml5ElementName* ELT_P;
    1.90 +    static nsHtml5ElementName* ELT_Q;
    1.91 +    static nsHtml5ElementName* ELT_S;
    1.92 +    static nsHtml5ElementName* ELT_U;
    1.93 +    static nsHtml5ElementName* ELT_BR;
    1.94 +    static nsHtml5ElementName* ELT_CI;
    1.95 +    static nsHtml5ElementName* ELT_CN;
    1.96 +    static nsHtml5ElementName* ELT_DD;
    1.97 +    static nsHtml5ElementName* ELT_DL;
    1.98 +    static nsHtml5ElementName* ELT_DT;
    1.99 +    static nsHtml5ElementName* ELT_EM;
   1.100 +    static nsHtml5ElementName* ELT_EQ;
   1.101 +    static nsHtml5ElementName* ELT_FN;
   1.102 +    static nsHtml5ElementName* ELT_H1;
   1.103 +    static nsHtml5ElementName* ELT_H2;
   1.104 +    static nsHtml5ElementName* ELT_H3;
   1.105 +    static nsHtml5ElementName* ELT_H4;
   1.106 +    static nsHtml5ElementName* ELT_H5;
   1.107 +    static nsHtml5ElementName* ELT_H6;
   1.108 +    static nsHtml5ElementName* ELT_GT;
   1.109 +    static nsHtml5ElementName* ELT_HR;
   1.110 +    static nsHtml5ElementName* ELT_IN;
   1.111 +    static nsHtml5ElementName* ELT_LI;
   1.112 +    static nsHtml5ElementName* ELT_LN;
   1.113 +    static nsHtml5ElementName* ELT_LT;
   1.114 +    static nsHtml5ElementName* ELT_MI;
   1.115 +    static nsHtml5ElementName* ELT_MN;
   1.116 +    static nsHtml5ElementName* ELT_MO;
   1.117 +    static nsHtml5ElementName* ELT_MS;
   1.118 +    static nsHtml5ElementName* ELT_OL;
   1.119 +    static nsHtml5ElementName* ELT_OR;
   1.120 +    static nsHtml5ElementName* ELT_PI;
   1.121 +    static nsHtml5ElementName* ELT_RP;
   1.122 +    static nsHtml5ElementName* ELT_RT;
   1.123 +    static nsHtml5ElementName* ELT_TD;
   1.124 +    static nsHtml5ElementName* ELT_TH;
   1.125 +    static nsHtml5ElementName* ELT_TR;
   1.126 +    static nsHtml5ElementName* ELT_TT;
   1.127 +    static nsHtml5ElementName* ELT_UL;
   1.128 +    static nsHtml5ElementName* ELT_AND;
   1.129 +    static nsHtml5ElementName* ELT_ARG;
   1.130 +    static nsHtml5ElementName* ELT_ABS;
   1.131 +    static nsHtml5ElementName* ELT_BIG;
   1.132 +    static nsHtml5ElementName* ELT_BDO;
   1.133 +    static nsHtml5ElementName* ELT_CSC;
   1.134 +    static nsHtml5ElementName* ELT_COL;
   1.135 +    static nsHtml5ElementName* ELT_COS;
   1.136 +    static nsHtml5ElementName* ELT_COT;
   1.137 +    static nsHtml5ElementName* ELT_DEL;
   1.138 +    static nsHtml5ElementName* ELT_DFN;
   1.139 +    static nsHtml5ElementName* ELT_DIR;
   1.140 +    static nsHtml5ElementName* ELT_DIV;
   1.141 +    static nsHtml5ElementName* ELT_EXP;
   1.142 +    static nsHtml5ElementName* ELT_GCD;
   1.143 +    static nsHtml5ElementName* ELT_GEQ;
   1.144 +    static nsHtml5ElementName* ELT_IMG;
   1.145 +    static nsHtml5ElementName* ELT_INS;
   1.146 +    static nsHtml5ElementName* ELT_INT;
   1.147 +    static nsHtml5ElementName* ELT_KBD;
   1.148 +    static nsHtml5ElementName* ELT_LOG;
   1.149 +    static nsHtml5ElementName* ELT_LCM;
   1.150 +    static nsHtml5ElementName* ELT_LEQ;
   1.151 +    static nsHtml5ElementName* ELT_MTD;
   1.152 +    static nsHtml5ElementName* ELT_MIN;
   1.153 +    static nsHtml5ElementName* ELT_MAP;
   1.154 +    static nsHtml5ElementName* ELT_MTR;
   1.155 +    static nsHtml5ElementName* ELT_MAX;
   1.156 +    static nsHtml5ElementName* ELT_NEQ;
   1.157 +    static nsHtml5ElementName* ELT_NOT;
   1.158 +    static nsHtml5ElementName* ELT_NAV;
   1.159 +    static nsHtml5ElementName* ELT_PRE;
   1.160 +    static nsHtml5ElementName* ELT_REM;
   1.161 +    static nsHtml5ElementName* ELT_SUB;
   1.162 +    static nsHtml5ElementName* ELT_SEC;
   1.163 +    static nsHtml5ElementName* ELT_SVG;
   1.164 +    static nsHtml5ElementName* ELT_SUM;
   1.165 +    static nsHtml5ElementName* ELT_SIN;
   1.166 +    static nsHtml5ElementName* ELT_SEP;
   1.167 +    static nsHtml5ElementName* ELT_SUP;
   1.168 +    static nsHtml5ElementName* ELT_SET;
   1.169 +    static nsHtml5ElementName* ELT_TAN;
   1.170 +    static nsHtml5ElementName* ELT_USE;
   1.171 +    static nsHtml5ElementName* ELT_VAR;
   1.172 +    static nsHtml5ElementName* ELT_WBR;
   1.173 +    static nsHtml5ElementName* ELT_XMP;
   1.174 +    static nsHtml5ElementName* ELT_XOR;
   1.175 +    static nsHtml5ElementName* ELT_AREA;
   1.176 +    static nsHtml5ElementName* ELT_ABBR;
   1.177 +    static nsHtml5ElementName* ELT_BASE;
   1.178 +    static nsHtml5ElementName* ELT_BVAR;
   1.179 +    static nsHtml5ElementName* ELT_BODY;
   1.180 +    static nsHtml5ElementName* ELT_CARD;
   1.181 +    static nsHtml5ElementName* ELT_CODE;
   1.182 +    static nsHtml5ElementName* ELT_CITE;
   1.183 +    static nsHtml5ElementName* ELT_CSCH;
   1.184 +    static nsHtml5ElementName* ELT_COSH;
   1.185 +    static nsHtml5ElementName* ELT_COTH;
   1.186 +    static nsHtml5ElementName* ELT_CURL;
   1.187 +    static nsHtml5ElementName* ELT_DESC;
   1.188 +    static nsHtml5ElementName* ELT_DIFF;
   1.189 +    static nsHtml5ElementName* ELT_DEFS;
   1.190 +    static nsHtml5ElementName* ELT_FORM;
   1.191 +    static nsHtml5ElementName* ELT_FONT;
   1.192 +    static nsHtml5ElementName* ELT_GRAD;
   1.193 +    static nsHtml5ElementName* ELT_HEAD;
   1.194 +    static nsHtml5ElementName* ELT_HTML;
   1.195 +    static nsHtml5ElementName* ELT_LINE;
   1.196 +    static nsHtml5ElementName* ELT_LINK;
   1.197 +    static nsHtml5ElementName* ELT_LIST;
   1.198 +    static nsHtml5ElementName* ELT_META;
   1.199 +    static nsHtml5ElementName* ELT_MSUB;
   1.200 +    static nsHtml5ElementName* ELT_MODE;
   1.201 +    static nsHtml5ElementName* ELT_MATH;
   1.202 +    static nsHtml5ElementName* ELT_MARK;
   1.203 +    static nsHtml5ElementName* ELT_MASK;
   1.204 +    static nsHtml5ElementName* ELT_MEAN;
   1.205 +    static nsHtml5ElementName* ELT_MAIN;
   1.206 +    static nsHtml5ElementName* ELT_MSUP;
   1.207 +    static nsHtml5ElementName* ELT_MENU;
   1.208 +    static nsHtml5ElementName* ELT_MROW;
   1.209 +    static nsHtml5ElementName* ELT_NONE;
   1.210 +    static nsHtml5ElementName* ELT_NOBR;
   1.211 +    static nsHtml5ElementName* ELT_NEST;
   1.212 +    static nsHtml5ElementName* ELT_PATH;
   1.213 +    static nsHtml5ElementName* ELT_PLUS;
   1.214 +    static nsHtml5ElementName* ELT_RULE;
   1.215 +    static nsHtml5ElementName* ELT_REAL;
   1.216 +    static nsHtml5ElementName* ELT_RELN;
   1.217 +    static nsHtml5ElementName* ELT_RECT;
   1.218 +    static nsHtml5ElementName* ELT_ROOT;
   1.219 +    static nsHtml5ElementName* ELT_RUBY;
   1.220 +    static nsHtml5ElementName* ELT_SECH;
   1.221 +    static nsHtml5ElementName* ELT_SINH;
   1.222 +    static nsHtml5ElementName* ELT_SPAN;
   1.223 +    static nsHtml5ElementName* ELT_SAMP;
   1.224 +    static nsHtml5ElementName* ELT_STOP;
   1.225 +    static nsHtml5ElementName* ELT_SDEV;
   1.226 +    static nsHtml5ElementName* ELT_TIME;
   1.227 +    static nsHtml5ElementName* ELT_TRUE;
   1.228 +    static nsHtml5ElementName* ELT_TREF;
   1.229 +    static nsHtml5ElementName* ELT_TANH;
   1.230 +    static nsHtml5ElementName* ELT_TEXT;
   1.231 +    static nsHtml5ElementName* ELT_VIEW;
   1.232 +    static nsHtml5ElementName* ELT_ASIDE;
   1.233 +    static nsHtml5ElementName* ELT_AUDIO;
   1.234 +    static nsHtml5ElementName* ELT_APPLY;
   1.235 +    static nsHtml5ElementName* ELT_EMBED;
   1.236 +    static nsHtml5ElementName* ELT_FRAME;
   1.237 +    static nsHtml5ElementName* ELT_FALSE;
   1.238 +    static nsHtml5ElementName* ELT_FLOOR;
   1.239 +    static nsHtml5ElementName* ELT_GLYPH;
   1.240 +    static nsHtml5ElementName* ELT_HKERN;
   1.241 +    static nsHtml5ElementName* ELT_IMAGE;
   1.242 +    static nsHtml5ElementName* ELT_IDENT;
   1.243 +    static nsHtml5ElementName* ELT_INPUT;
   1.244 +    static nsHtml5ElementName* ELT_LABEL;
   1.245 +    static nsHtml5ElementName* ELT_LIMIT;
   1.246 +    static nsHtml5ElementName* ELT_MFRAC;
   1.247 +    static nsHtml5ElementName* ELT_MPATH;
   1.248 +    static nsHtml5ElementName* ELT_METER;
   1.249 +    static nsHtml5ElementName* ELT_MOVER;
   1.250 +    static nsHtml5ElementName* ELT_MINUS;
   1.251 +    static nsHtml5ElementName* ELT_MROOT;
   1.252 +    static nsHtml5ElementName* ELT_MSQRT;
   1.253 +    static nsHtml5ElementName* ELT_MTEXT;
   1.254 +    static nsHtml5ElementName* ELT_NOTIN;
   1.255 +    static nsHtml5ElementName* ELT_PIECE;
   1.256 +    static nsHtml5ElementName* ELT_PARAM;
   1.257 +    static nsHtml5ElementName* ELT_POWER;
   1.258 +    static nsHtml5ElementName* ELT_REALS;
   1.259 +    static nsHtml5ElementName* ELT_STYLE;
   1.260 +    static nsHtml5ElementName* ELT_SMALL;
   1.261 +    static nsHtml5ElementName* ELT_THEAD;
   1.262 +    static nsHtml5ElementName* ELT_TABLE;
   1.263 +    static nsHtml5ElementName* ELT_TITLE;
   1.264 +    static nsHtml5ElementName* ELT_TRACK;
   1.265 +    static nsHtml5ElementName* ELT_TSPAN;
   1.266 +    static nsHtml5ElementName* ELT_TIMES;
   1.267 +    static nsHtml5ElementName* ELT_TFOOT;
   1.268 +    static nsHtml5ElementName* ELT_TBODY;
   1.269 +    static nsHtml5ElementName* ELT_UNION;
   1.270 +    static nsHtml5ElementName* ELT_VKERN;
   1.271 +    static nsHtml5ElementName* ELT_VIDEO;
   1.272 +    static nsHtml5ElementName* ELT_ARCSEC;
   1.273 +    static nsHtml5ElementName* ELT_ARCCSC;
   1.274 +    static nsHtml5ElementName* ELT_ARCTAN;
   1.275 +    static nsHtml5ElementName* ELT_ARCSIN;
   1.276 +    static nsHtml5ElementName* ELT_ARCCOS;
   1.277 +    static nsHtml5ElementName* ELT_APPLET;
   1.278 +    static nsHtml5ElementName* ELT_ARCCOT;
   1.279 +    static nsHtml5ElementName* ELT_APPROX;
   1.280 +    static nsHtml5ElementName* ELT_BUTTON;
   1.281 +    static nsHtml5ElementName* ELT_CIRCLE;
   1.282 +    static nsHtml5ElementName* ELT_CENTER;
   1.283 +    static nsHtml5ElementName* ELT_CURSOR;
   1.284 +    static nsHtml5ElementName* ELT_CANVAS;
   1.285 +    static nsHtml5ElementName* ELT_DIVIDE;
   1.286 +    static nsHtml5ElementName* ELT_DEGREE;
   1.287 +    static nsHtml5ElementName* ELT_DOMAIN;
   1.288 +    static nsHtml5ElementName* ELT_EXISTS;
   1.289 +    static nsHtml5ElementName* ELT_FETILE;
   1.290 +    static nsHtml5ElementName* ELT_FIGURE;
   1.291 +    static nsHtml5ElementName* ELT_FORALL;
   1.292 +    static nsHtml5ElementName* ELT_FILTER;
   1.293 +    static nsHtml5ElementName* ELT_FOOTER;
   1.294 +    static nsHtml5ElementName* ELT_HGROUP;
   1.295 +    static nsHtml5ElementName* ELT_HEADER;
   1.296 +    static nsHtml5ElementName* ELT_IFRAME;
   1.297 +    static nsHtml5ElementName* ELT_KEYGEN;
   1.298 +    static nsHtml5ElementName* ELT_LAMBDA;
   1.299 +    static nsHtml5ElementName* ELT_LEGEND;
   1.300 +    static nsHtml5ElementName* ELT_MSPACE;
   1.301 +    static nsHtml5ElementName* ELT_MTABLE;
   1.302 +    static nsHtml5ElementName* ELT_MSTYLE;
   1.303 +    static nsHtml5ElementName* ELT_MGLYPH;
   1.304 +    static nsHtml5ElementName* ELT_MEDIAN;
   1.305 +    static nsHtml5ElementName* ELT_MUNDER;
   1.306 +    static nsHtml5ElementName* ELT_MARKER;
   1.307 +    static nsHtml5ElementName* ELT_MERROR;
   1.308 +    static nsHtml5ElementName* ELT_MOMENT;
   1.309 +    static nsHtml5ElementName* ELT_MATRIX;
   1.310 +    static nsHtml5ElementName* ELT_OPTION;
   1.311 +    static nsHtml5ElementName* ELT_OBJECT;
   1.312 +    static nsHtml5ElementName* ELT_OUTPUT;
   1.313 +    static nsHtml5ElementName* ELT_PRIMES;
   1.314 +    static nsHtml5ElementName* ELT_SOURCE;
   1.315 +    static nsHtml5ElementName* ELT_STRIKE;
   1.316 +    static nsHtml5ElementName* ELT_STRONG;
   1.317 +    static nsHtml5ElementName* ELT_SWITCH;
   1.318 +    static nsHtml5ElementName* ELT_SYMBOL;
   1.319 +    static nsHtml5ElementName* ELT_SELECT;
   1.320 +    static nsHtml5ElementName* ELT_SUBSET;
   1.321 +    static nsHtml5ElementName* ELT_SCRIPT;
   1.322 +    static nsHtml5ElementName* ELT_TBREAK;
   1.323 +    static nsHtml5ElementName* ELT_VECTOR;
   1.324 +    static nsHtml5ElementName* ELT_ARTICLE;
   1.325 +    static nsHtml5ElementName* ELT_ANIMATE;
   1.326 +    static nsHtml5ElementName* ELT_ARCSECH;
   1.327 +    static nsHtml5ElementName* ELT_ARCCSCH;
   1.328 +    static nsHtml5ElementName* ELT_ARCTANH;
   1.329 +    static nsHtml5ElementName* ELT_ARCSINH;
   1.330 +    static nsHtml5ElementName* ELT_ARCCOSH;
   1.331 +    static nsHtml5ElementName* ELT_ARCCOTH;
   1.332 +    static nsHtml5ElementName* ELT_ACRONYM;
   1.333 +    static nsHtml5ElementName* ELT_ADDRESS;
   1.334 +    static nsHtml5ElementName* ELT_BGSOUND;
   1.335 +    static nsHtml5ElementName* ELT_COMPOSE;
   1.336 +    static nsHtml5ElementName* ELT_CEILING;
   1.337 +    static nsHtml5ElementName* ELT_CSYMBOL;
   1.338 +    static nsHtml5ElementName* ELT_CAPTION;
   1.339 +    static nsHtml5ElementName* ELT_DISCARD;
   1.340 +    static nsHtml5ElementName* ELT_DECLARE;
   1.341 +    static nsHtml5ElementName* ELT_DETAILS;
   1.342 +    static nsHtml5ElementName* ELT_ELLIPSE;
   1.343 +    static nsHtml5ElementName* ELT_FEFUNCA;
   1.344 +    static nsHtml5ElementName* ELT_FEFUNCB;
   1.345 +    static nsHtml5ElementName* ELT_FEBLEND;
   1.346 +    static nsHtml5ElementName* ELT_FEFLOOD;
   1.347 +    static nsHtml5ElementName* ELT_FEIMAGE;
   1.348 +    static nsHtml5ElementName* ELT_FEMERGE;
   1.349 +    static nsHtml5ElementName* ELT_FEFUNCG;
   1.350 +    static nsHtml5ElementName* ELT_FEFUNCR;
   1.351 +    static nsHtml5ElementName* ELT_HANDLER;
   1.352 +    static nsHtml5ElementName* ELT_INVERSE;
   1.353 +    static nsHtml5ElementName* ELT_IMPLIES;
   1.354 +    static nsHtml5ElementName* ELT_ISINDEX;
   1.355 +    static nsHtml5ElementName* ELT_LOGBASE;
   1.356 +    static nsHtml5ElementName* ELT_LISTING;
   1.357 +    static nsHtml5ElementName* ELT_MFENCED;
   1.358 +    static nsHtml5ElementName* ELT_MPADDED;
   1.359 +    static nsHtml5ElementName* ELT_MARQUEE;
   1.360 +    static nsHtml5ElementName* ELT_MACTION;
   1.361 +    static nsHtml5ElementName* ELT_MSUBSUP;
   1.362 +    static nsHtml5ElementName* ELT_NOEMBED;
   1.363 +    static nsHtml5ElementName* ELT_POLYGON;
   1.364 +    static nsHtml5ElementName* ELT_PATTERN;
   1.365 +    static nsHtml5ElementName* ELT_PRODUCT;
   1.366 +    static nsHtml5ElementName* ELT_SETDIFF;
   1.367 +    static nsHtml5ElementName* ELT_SECTION;
   1.368 +    static nsHtml5ElementName* ELT_SUMMARY;
   1.369 +    static nsHtml5ElementName* ELT_TENDSTO;
   1.370 +    static nsHtml5ElementName* ELT_UPLIMIT;
   1.371 +    static nsHtml5ElementName* ELT_ALTGLYPH;
   1.372 +    static nsHtml5ElementName* ELT_BASEFONT;
   1.373 +    static nsHtml5ElementName* ELT_CLIPPATH;
   1.374 +    static nsHtml5ElementName* ELT_CODOMAIN;
   1.375 +    static nsHtml5ElementName* ELT_COLGROUP;
   1.376 +    static nsHtml5ElementName* ELT_EMPTYSET;
   1.377 +    static nsHtml5ElementName* ELT_FACTOROF;
   1.378 +    static nsHtml5ElementName* ELT_FIELDSET;
   1.379 +    static nsHtml5ElementName* ELT_FRAMESET;
   1.380 +    static nsHtml5ElementName* ELT_FEOFFSET;
   1.381 +    static nsHtml5ElementName* ELT_GLYPHREF;
   1.382 +    static nsHtml5ElementName* ELT_INTERVAL;
   1.383 +    static nsHtml5ElementName* ELT_INTEGERS;
   1.384 +    static nsHtml5ElementName* ELT_INFINITY;
   1.385 +    static nsHtml5ElementName* ELT_LISTENER;
   1.386 +    static nsHtml5ElementName* ELT_LOWLIMIT;
   1.387 +    static nsHtml5ElementName* ELT_METADATA;
   1.388 +    static nsHtml5ElementName* ELT_MENCLOSE;
   1.389 +    static nsHtml5ElementName* ELT_MENUITEM;
   1.390 +    static nsHtml5ElementName* ELT_MPHANTOM;
   1.391 +    static nsHtml5ElementName* ELT_NOFRAMES;
   1.392 +    static nsHtml5ElementName* ELT_NOSCRIPT;
   1.393 +    static nsHtml5ElementName* ELT_OPTGROUP;
   1.394 +    static nsHtml5ElementName* ELT_POLYLINE;
   1.395 +    static nsHtml5ElementName* ELT_PREFETCH;
   1.396 +    static nsHtml5ElementName* ELT_PROGRESS;
   1.397 +    static nsHtml5ElementName* ELT_PRSUBSET;
   1.398 +    static nsHtml5ElementName* ELT_QUOTIENT;
   1.399 +    static nsHtml5ElementName* ELT_SELECTOR;
   1.400 +    static nsHtml5ElementName* ELT_TEXTAREA;
   1.401 +    static nsHtml5ElementName* ELT_TEMPLATE;
   1.402 +    static nsHtml5ElementName* ELT_TEXTPATH;
   1.403 +    static nsHtml5ElementName* ELT_VARIANCE;
   1.404 +    static nsHtml5ElementName* ELT_ANIMATION;
   1.405 +    static nsHtml5ElementName* ELT_CONJUGATE;
   1.406 +    static nsHtml5ElementName* ELT_CONDITION;
   1.407 +    static nsHtml5ElementName* ELT_COMPLEXES;
   1.408 +    static nsHtml5ElementName* ELT_FONT_FACE;
   1.409 +    static nsHtml5ElementName* ELT_FACTORIAL;
   1.410 +    static nsHtml5ElementName* ELT_INTERSECT;
   1.411 +    static nsHtml5ElementName* ELT_IMAGINARY;
   1.412 +    static nsHtml5ElementName* ELT_LAPLACIAN;
   1.413 +    static nsHtml5ElementName* ELT_MATRIXROW;
   1.414 +    static nsHtml5ElementName* ELT_NOTSUBSET;
   1.415 +    static nsHtml5ElementName* ELT_OTHERWISE;
   1.416 +    static nsHtml5ElementName* ELT_PIECEWISE;
   1.417 +    static nsHtml5ElementName* ELT_PLAINTEXT;
   1.418 +    static nsHtml5ElementName* ELT_RATIONALS;
   1.419 +    static nsHtml5ElementName* ELT_SEMANTICS;
   1.420 +    static nsHtml5ElementName* ELT_TRANSPOSE;
   1.421 +    static nsHtml5ElementName* ELT_ANNOTATION;
   1.422 +    static nsHtml5ElementName* ELT_BLOCKQUOTE;
   1.423 +    static nsHtml5ElementName* ELT_DIVERGENCE;
   1.424 +    static nsHtml5ElementName* ELT_EULERGAMMA;
   1.425 +    static nsHtml5ElementName* ELT_EQUIVALENT;
   1.426 +    static nsHtml5ElementName* ELT_FIGCAPTION;
   1.427 +    static nsHtml5ElementName* ELT_IMAGINARYI;
   1.428 +    static nsHtml5ElementName* ELT_MALIGNMARK;
   1.429 +    static nsHtml5ElementName* ELT_MUNDEROVER;
   1.430 +    static nsHtml5ElementName* ELT_MLABELEDTR;
   1.431 +    static nsHtml5ElementName* ELT_NOTANUMBER;
   1.432 +    static nsHtml5ElementName* ELT_SOLIDCOLOR;
   1.433 +    static nsHtml5ElementName* ELT_ALTGLYPHDEF;
   1.434 +    static nsHtml5ElementName* ELT_DETERMINANT;
   1.435 +    static nsHtml5ElementName* ELT_FEMERGENODE;
   1.436 +    static nsHtml5ElementName* ELT_FECOMPOSITE;
   1.437 +    static nsHtml5ElementName* ELT_FESPOTLIGHT;
   1.438 +    static nsHtml5ElementName* ELT_MALIGNGROUP;
   1.439 +    static nsHtml5ElementName* ELT_MPRESCRIPTS;
   1.440 +    static nsHtml5ElementName* ELT_MOMENTABOUT;
   1.441 +    static nsHtml5ElementName* ELT_NOTPRSUBSET;
   1.442 +    static nsHtml5ElementName* ELT_PARTIALDIFF;
   1.443 +    static nsHtml5ElementName* ELT_ALTGLYPHITEM;
   1.444 +    static nsHtml5ElementName* ELT_ANIMATECOLOR;
   1.445 +    static nsHtml5ElementName* ELT_DATATEMPLATE;
   1.446 +    static nsHtml5ElementName* ELT_EXPONENTIALE;
   1.447 +    static nsHtml5ElementName* ELT_FETURBULENCE;
   1.448 +    static nsHtml5ElementName* ELT_FEPOINTLIGHT;
   1.449 +    static nsHtml5ElementName* ELT_FEDROPSHADOW;
   1.450 +    static nsHtml5ElementName* ELT_FEMORPHOLOGY;
   1.451 +    static nsHtml5ElementName* ELT_OUTERPRODUCT;
   1.452 +    static nsHtml5ElementName* ELT_ANIMATEMOTION;
   1.453 +    static nsHtml5ElementName* ELT_COLOR_PROFILE;
   1.454 +    static nsHtml5ElementName* ELT_FONT_FACE_SRC;
   1.455 +    static nsHtml5ElementName* ELT_FONT_FACE_URI;
   1.456 +    static nsHtml5ElementName* ELT_FOREIGNOBJECT;
   1.457 +    static nsHtml5ElementName* ELT_FECOLORMATRIX;
   1.458 +    static nsHtml5ElementName* ELT_MISSING_GLYPH;
   1.459 +    static nsHtml5ElementName* ELT_MMULTISCRIPTS;
   1.460 +    static nsHtml5ElementName* ELT_SCALARPRODUCT;
   1.461 +    static nsHtml5ElementName* ELT_VECTORPRODUCT;
   1.462 +    static nsHtml5ElementName* ELT_ANNOTATION_XML;
   1.463 +    static nsHtml5ElementName* ELT_DEFINITION_SRC;
   1.464 +    static nsHtml5ElementName* ELT_FONT_FACE_NAME;
   1.465 +    static nsHtml5ElementName* ELT_FEGAUSSIANBLUR;
   1.466 +    static nsHtml5ElementName* ELT_FEDISTANTLIGHT;
   1.467 +    static nsHtml5ElementName* ELT_LINEARGRADIENT;
   1.468 +    static nsHtml5ElementName* ELT_NATURALNUMBERS;
   1.469 +    static nsHtml5ElementName* ELT_RADIALGRADIENT;
   1.470 +    static nsHtml5ElementName* ELT_ANIMATETRANSFORM;
   1.471 +    static nsHtml5ElementName* ELT_CARTESIANPRODUCT;
   1.472 +    static nsHtml5ElementName* ELT_FONT_FACE_FORMAT;
   1.473 +    static nsHtml5ElementName* ELT_FECONVOLVEMATRIX;
   1.474 +    static nsHtml5ElementName* ELT_FEDIFFUSELIGHTING;
   1.475 +    static nsHtml5ElementName* ELT_FEDISPLACEMENTMAP;
   1.476 +    static nsHtml5ElementName* ELT_FESPECULARLIGHTING;
   1.477 +    static nsHtml5ElementName* ELT_DOMAINOFAPPLICATION;
   1.478 +    static nsHtml5ElementName* ELT_FECOMPONENTTRANSFER;
   1.479 +  private:
   1.480 +    static nsHtml5ElementName** ELEMENT_NAMES;
   1.481 +    static staticJArray<int32_t,int32_t> ELEMENT_HASHES;
   1.482 +  public:
   1.483 +    static void initializeStatics();
   1.484 +    static void releaseStatics();
   1.485 +};
   1.486 +
   1.487 +#define NS_HTML5ELEMENT_NAME_GROUP_MASK 127
   1.488 +#define NS_HTML5ELEMENT_NAME_CUSTOM (1 << 30)
   1.489 +#define NS_HTML5ELEMENT_NAME_SPECIAL (1 << 29)
   1.490 +#define NS_HTML5ELEMENT_NAME_FOSTER_PARENTING (1 << 28)
   1.491 +#define NS_HTML5ELEMENT_NAME_SCOPING (1 << 27)
   1.492 +#define NS_HTML5ELEMENT_NAME_SCOPING_AS_SVG (1 << 26)
   1.493 +#define NS_HTML5ELEMENT_NAME_SCOPING_AS_MATHML (1 << 25)
   1.494 +#define NS_HTML5ELEMENT_NAME_HTML_INTEGRATION_POINT (1 << 24)
   1.495 +#define NS_HTML5ELEMENT_NAME_OPTIONAL_END_TAG (1 << 23)
   1.496 +
   1.497 +
   1.498 +#endif
   1.499 +

mercurial