diff options
Diffstat (limited to 'parser/html/nsHtml5ElementName.h')
-rw-r--r-- | parser/html/nsHtml5ElementName.h | 499 |
1 files changed, 499 insertions, 0 deletions
diff --git a/parser/html/nsHtml5ElementName.h b/parser/html/nsHtml5ElementName.h new file mode 100644 index 000000000..b4df323a6 --- /dev/null +++ b/parser/html/nsHtml5ElementName.h @@ -0,0 +1,499 @@ +/* + * Copyright (c) 2008-2014 Mozilla Foundation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ + +/* + * THIS IS A GENERATED FILE. PLEASE DO NOT EDIT. + * Please edit ElementName.java instead and regenerate. + */ + +#ifndef nsHtml5ElementName_h +#define nsHtml5ElementName_h + +#include "nsIAtom.h" +#include "nsHtml5AtomTable.h" +#include "nsString.h" +#include "nsNameSpaceManager.h" +#include "nsIContent.h" +#include "nsTraceRefcnt.h" +#include "jArray.h" +#include "nsHtml5ArrayCopy.h" +#include "nsAHtml5TreeBuilderState.h" +#include "nsHtml5Atoms.h" +#include "nsHtml5ByteReadable.h" +#include "nsIUnicodeDecoder.h" +#include "nsHtml5Macros.h" +#include "nsIContentHandle.h" + +class nsHtml5StreamParser; + +class nsHtml5Tokenizer; +class nsHtml5TreeBuilder; +class nsHtml5MetaScanner; +class nsHtml5AttributeName; +class nsHtml5HtmlAttributes; +class nsHtml5UTF16Buffer; +class nsHtml5StateSnapshot; +class nsHtml5Portability; + + +class nsHtml5ElementName +{ + public: + static nsHtml5ElementName* ELT_NULL_ELEMENT_NAME; + nsIAtom* name; + nsIAtom* camelCaseName; + int32_t flags; + inline int32_t getFlags() + { + return flags; + } + + int32_t getGroup(); + bool isCustom(); + static nsHtml5ElementName* elementNameByBuffer(char16_t* buf, int32_t offset, int32_t length, nsHtml5AtomTable* interner); + private: + static int32_t bufToHash(char16_t* buf, int32_t len); + nsHtml5ElementName(nsIAtom* name, nsIAtom* camelCaseName, int32_t flags); + protected: + explicit nsHtml5ElementName(nsIAtom* name); + public: + virtual void release(); + virtual ~nsHtml5ElementName(); + virtual nsHtml5ElementName* cloneElementName(nsHtml5AtomTable* interner); + static nsHtml5ElementName* ELT_A; + static nsHtml5ElementName* ELT_B; + static nsHtml5ElementName* ELT_G; + static nsHtml5ElementName* ELT_I; + static nsHtml5ElementName* ELT_P; + static nsHtml5ElementName* ELT_Q; + static nsHtml5ElementName* ELT_S; + static nsHtml5ElementName* ELT_U; + static nsHtml5ElementName* ELT_BR; + static nsHtml5ElementName* ELT_CI; + static nsHtml5ElementName* ELT_CN; + static nsHtml5ElementName* ELT_DD; + static nsHtml5ElementName* ELT_DL; + static nsHtml5ElementName* ELT_DT; + static nsHtml5ElementName* ELT_EM; + static nsHtml5ElementName* ELT_EQ; + static nsHtml5ElementName* ELT_FN; + static nsHtml5ElementName* ELT_H1; + static nsHtml5ElementName* ELT_H2; + static nsHtml5ElementName* ELT_H3; + static nsHtml5ElementName* ELT_H4; + static nsHtml5ElementName* ELT_H5; + static nsHtml5ElementName* ELT_H6; + static nsHtml5ElementName* ELT_GT; + static nsHtml5ElementName* ELT_HR; + static nsHtml5ElementName* ELT_IN; + static nsHtml5ElementName* ELT_LI; + static nsHtml5ElementName* ELT_LN; + static nsHtml5ElementName* ELT_LT; + static nsHtml5ElementName* ELT_MI; + static nsHtml5ElementName* ELT_MN; + static nsHtml5ElementName* ELT_MO; + static nsHtml5ElementName* ELT_MS; + static nsHtml5ElementName* ELT_OL; + static nsHtml5ElementName* ELT_OR; + static nsHtml5ElementName* ELT_PI; + static nsHtml5ElementName* ELT_RB; + static nsHtml5ElementName* ELT_RP; + static nsHtml5ElementName* ELT_RT; + static nsHtml5ElementName* ELT_TD; + static nsHtml5ElementName* ELT_TH; + static nsHtml5ElementName* ELT_TR; + static nsHtml5ElementName* ELT_TT; + static nsHtml5ElementName* ELT_UL; + static nsHtml5ElementName* ELT_AND; + static nsHtml5ElementName* ELT_ARG; + static nsHtml5ElementName* ELT_ABS; + static nsHtml5ElementName* ELT_BIG; + static nsHtml5ElementName* ELT_BDO; + static nsHtml5ElementName* ELT_CSC; + static nsHtml5ElementName* ELT_COL; + static nsHtml5ElementName* ELT_COS; + static nsHtml5ElementName* ELT_COT; + static nsHtml5ElementName* ELT_DEL; + static nsHtml5ElementName* ELT_DFN; + static nsHtml5ElementName* ELT_DIR; + static nsHtml5ElementName* ELT_DIV; + static nsHtml5ElementName* ELT_EXP; + static nsHtml5ElementName* ELT_GCD; + static nsHtml5ElementName* ELT_GEQ; + static nsHtml5ElementName* ELT_IMG; + static nsHtml5ElementName* ELT_INS; + static nsHtml5ElementName* ELT_INT; + static nsHtml5ElementName* ELT_KBD; + static nsHtml5ElementName* ELT_LOG; + static nsHtml5ElementName* ELT_LCM; + static nsHtml5ElementName* ELT_LEQ; + static nsHtml5ElementName* ELT_MTD; + static nsHtml5ElementName* ELT_MIN; + static nsHtml5ElementName* ELT_MAP; + static nsHtml5ElementName* ELT_MTR; + static nsHtml5ElementName* ELT_MAX; + static nsHtml5ElementName* ELT_NEQ; + static nsHtml5ElementName* ELT_NOT; + static nsHtml5ElementName* ELT_NAV; + static nsHtml5ElementName* ELT_PRE; + static nsHtml5ElementName* ELT_RTC; + static nsHtml5ElementName* ELT_REM; + static nsHtml5ElementName* ELT_SUB; + static nsHtml5ElementName* ELT_SEC; + static nsHtml5ElementName* ELT_SVG; + static nsHtml5ElementName* ELT_SUM; + static nsHtml5ElementName* ELT_SIN; + static nsHtml5ElementName* ELT_SEP; + static nsHtml5ElementName* ELT_SUP; + static nsHtml5ElementName* ELT_SET; + static nsHtml5ElementName* ELT_TAN; + static nsHtml5ElementName* ELT_USE; + static nsHtml5ElementName* ELT_VAR; + static nsHtml5ElementName* ELT_WBR; + static nsHtml5ElementName* ELT_XMP; + static nsHtml5ElementName* ELT_XOR; + static nsHtml5ElementName* ELT_AREA; + static nsHtml5ElementName* ELT_ABBR; + static nsHtml5ElementName* ELT_BASE; + static nsHtml5ElementName* ELT_BVAR; + static nsHtml5ElementName* ELT_BODY; + static nsHtml5ElementName* ELT_CARD; + static nsHtml5ElementName* ELT_CODE; + static nsHtml5ElementName* ELT_CITE; + static nsHtml5ElementName* ELT_CSCH; + static nsHtml5ElementName* ELT_COSH; + static nsHtml5ElementName* ELT_COTH; + static nsHtml5ElementName* ELT_CURL; + static nsHtml5ElementName* ELT_DESC; + static nsHtml5ElementName* ELT_DIFF; + static nsHtml5ElementName* ELT_DEFS; + static nsHtml5ElementName* ELT_FORM; + static nsHtml5ElementName* ELT_FONT; + static nsHtml5ElementName* ELT_GRAD; + static nsHtml5ElementName* ELT_HEAD; + static nsHtml5ElementName* ELT_HTML; + static nsHtml5ElementName* ELT_LINE; + static nsHtml5ElementName* ELT_LINK; + static nsHtml5ElementName* ELT_LIST; + static nsHtml5ElementName* ELT_META; + static nsHtml5ElementName* ELT_MSUB; + static nsHtml5ElementName* ELT_MODE; + static nsHtml5ElementName* ELT_MATH; + static nsHtml5ElementName* ELT_MARK; + static nsHtml5ElementName* ELT_MASK; + static nsHtml5ElementName* ELT_MEAN; + static nsHtml5ElementName* ELT_MAIN; + static nsHtml5ElementName* ELT_MSUP; + static nsHtml5ElementName* ELT_MENU; + static nsHtml5ElementName* ELT_MROW; + static nsHtml5ElementName* ELT_NONE; + static nsHtml5ElementName* ELT_NOBR; + static nsHtml5ElementName* ELT_NEST; + static nsHtml5ElementName* ELT_PATH; + static nsHtml5ElementName* ELT_PLUS; + static nsHtml5ElementName* ELT_RULE; + static nsHtml5ElementName* ELT_REAL; + static nsHtml5ElementName* ELT_RELN; + static nsHtml5ElementName* ELT_RECT; + static nsHtml5ElementName* ELT_ROOT; + static nsHtml5ElementName* ELT_RUBY; + static nsHtml5ElementName* ELT_SECH; + static nsHtml5ElementName* ELT_SINH; + static nsHtml5ElementName* ELT_SPAN; + static nsHtml5ElementName* ELT_SAMP; + static nsHtml5ElementName* ELT_STOP; + static nsHtml5ElementName* ELT_SDEV; + static nsHtml5ElementName* ELT_TIME; + static nsHtml5ElementName* ELT_TRUE; + static nsHtml5ElementName* ELT_TREF; + static nsHtml5ElementName* ELT_TANH; + static nsHtml5ElementName* ELT_TEXT; + static nsHtml5ElementName* ELT_VIEW; + static nsHtml5ElementName* ELT_ASIDE; + static nsHtml5ElementName* ELT_AUDIO; + static nsHtml5ElementName* ELT_APPLY; + static nsHtml5ElementName* ELT_EMBED; + static nsHtml5ElementName* ELT_FRAME; + static nsHtml5ElementName* ELT_FALSE; + static nsHtml5ElementName* ELT_FLOOR; + static nsHtml5ElementName* ELT_GLYPH; + static nsHtml5ElementName* ELT_HKERN; + static nsHtml5ElementName* ELT_IMAGE; + static nsHtml5ElementName* ELT_IDENT; + static nsHtml5ElementName* ELT_INPUT; + static nsHtml5ElementName* ELT_LABEL; + static nsHtml5ElementName* ELT_LIMIT; + static nsHtml5ElementName* ELT_MFRAC; + static nsHtml5ElementName* ELT_MPATH; + static nsHtml5ElementName* ELT_METER; + static nsHtml5ElementName* ELT_MOVER; + static nsHtml5ElementName* ELT_MINUS; + static nsHtml5ElementName* ELT_MROOT; + static nsHtml5ElementName* ELT_MSQRT; + static nsHtml5ElementName* ELT_MTEXT; + static nsHtml5ElementName* ELT_NOTIN; + static nsHtml5ElementName* ELT_PIECE; + static nsHtml5ElementName* ELT_PARAM; + static nsHtml5ElementName* ELT_POWER; + static nsHtml5ElementName* ELT_REALS; + static nsHtml5ElementName* ELT_STYLE; + static nsHtml5ElementName* ELT_SMALL; + static nsHtml5ElementName* ELT_THEAD; + static nsHtml5ElementName* ELT_TABLE; + static nsHtml5ElementName* ELT_TITLE; + static nsHtml5ElementName* ELT_TRACK; + static nsHtml5ElementName* ELT_TSPAN; + static nsHtml5ElementName* ELT_TIMES; + static nsHtml5ElementName* ELT_TFOOT; + static nsHtml5ElementName* ELT_TBODY; + static nsHtml5ElementName* ELT_UNION; + static nsHtml5ElementName* ELT_VKERN; + static nsHtml5ElementName* ELT_VIDEO; + static nsHtml5ElementName* ELT_ARCSEC; + static nsHtml5ElementName* ELT_ARCCSC; + static nsHtml5ElementName* ELT_ARCTAN; + static nsHtml5ElementName* ELT_ARCSIN; + static nsHtml5ElementName* ELT_ARCCOS; + static nsHtml5ElementName* ELT_APPLET; + static nsHtml5ElementName* ELT_ARCCOT; + static nsHtml5ElementName* ELT_APPROX; + static nsHtml5ElementName* ELT_BUTTON; + static nsHtml5ElementName* ELT_CIRCLE; + static nsHtml5ElementName* ELT_CENTER; + static nsHtml5ElementName* ELT_CURSOR; + static nsHtml5ElementName* ELT_CANVAS; + static nsHtml5ElementName* ELT_DIVIDE; + static nsHtml5ElementName* ELT_DEGREE; + static nsHtml5ElementName* ELT_DOMAIN; + static nsHtml5ElementName* ELT_EXISTS; + static nsHtml5ElementName* ELT_FETILE; + static nsHtml5ElementName* ELT_FIGURE; + static nsHtml5ElementName* ELT_FORALL; + static nsHtml5ElementName* ELT_FILTER; + static nsHtml5ElementName* ELT_FOOTER; + static nsHtml5ElementName* ELT_HGROUP; + static nsHtml5ElementName* ELT_HEADER; + static nsHtml5ElementName* ELT_IFRAME; + static nsHtml5ElementName* ELT_KEYGEN; + static nsHtml5ElementName* ELT_LAMBDA; + static nsHtml5ElementName* ELT_LEGEND; + static nsHtml5ElementName* ELT_MSPACE; + static nsHtml5ElementName* ELT_MTABLE; + static nsHtml5ElementName* ELT_MSTYLE; + static nsHtml5ElementName* ELT_MGLYPH; + static nsHtml5ElementName* ELT_MEDIAN; + static nsHtml5ElementName* ELT_MUNDER; + static nsHtml5ElementName* ELT_MARKER; + static nsHtml5ElementName* ELT_MERROR; + static nsHtml5ElementName* ELT_MOMENT; + static nsHtml5ElementName* ELT_MATRIX; + static nsHtml5ElementName* ELT_OPTION; + static nsHtml5ElementName* ELT_OBJECT; + static nsHtml5ElementName* ELT_OUTPUT; + static nsHtml5ElementName* ELT_PRIMES; + static nsHtml5ElementName* ELT_SOURCE; + static nsHtml5ElementName* ELT_STRIKE; + static nsHtml5ElementName* ELT_STRONG; + static nsHtml5ElementName* ELT_SWITCH; + static nsHtml5ElementName* ELT_SYMBOL; + static nsHtml5ElementName* ELT_SELECT; + static nsHtml5ElementName* ELT_SUBSET; + static nsHtml5ElementName* ELT_SCRIPT; + static nsHtml5ElementName* ELT_TBREAK; + static nsHtml5ElementName* ELT_VECTOR; + static nsHtml5ElementName* ELT_ARTICLE; + static nsHtml5ElementName* ELT_ANIMATE; + static nsHtml5ElementName* ELT_ARCSECH; + static nsHtml5ElementName* ELT_ARCCSCH; + static nsHtml5ElementName* ELT_ARCTANH; + static nsHtml5ElementName* ELT_ARCSINH; + static nsHtml5ElementName* ELT_ARCCOSH; + static nsHtml5ElementName* ELT_ARCCOTH; + static nsHtml5ElementName* ELT_ACRONYM; + static nsHtml5ElementName* ELT_ADDRESS; + static nsHtml5ElementName* ELT_BGSOUND; + static nsHtml5ElementName* ELT_COMPOSE; + static nsHtml5ElementName* ELT_CEILING; + static nsHtml5ElementName* ELT_CSYMBOL; + static nsHtml5ElementName* ELT_CAPTION; + static nsHtml5ElementName* ELT_DISCARD; + static nsHtml5ElementName* ELT_DECLARE; + static nsHtml5ElementName* ELT_DETAILS; + static nsHtml5ElementName* ELT_ELLIPSE; + static nsHtml5ElementName* ELT_FEFUNCA; + static nsHtml5ElementName* ELT_FEFUNCB; + static nsHtml5ElementName* ELT_FEBLEND; + static nsHtml5ElementName* ELT_FEFLOOD; + static nsHtml5ElementName* ELT_FEIMAGE; + static nsHtml5ElementName* ELT_FEMERGE; + static nsHtml5ElementName* ELT_FEFUNCG; + static nsHtml5ElementName* ELT_FEFUNCR; + static nsHtml5ElementName* ELT_HANDLER; + static nsHtml5ElementName* ELT_INVERSE; + static nsHtml5ElementName* ELT_IMPLIES; + static nsHtml5ElementName* ELT_ISINDEX; + static nsHtml5ElementName* ELT_LOGBASE; + static nsHtml5ElementName* ELT_LISTING; + static nsHtml5ElementName* ELT_MFENCED; + static nsHtml5ElementName* ELT_MPADDED; + static nsHtml5ElementName* ELT_MARQUEE; + static nsHtml5ElementName* ELT_MACTION; + static nsHtml5ElementName* ELT_MSUBSUP; + static nsHtml5ElementName* ELT_NOEMBED; + static nsHtml5ElementName* ELT_POLYGON; + static nsHtml5ElementName* ELT_PATTERN; + static nsHtml5ElementName* ELT_PICTURE; + static nsHtml5ElementName* ELT_PRODUCT; + static nsHtml5ElementName* ELT_SETDIFF; + static nsHtml5ElementName* ELT_SECTION; + static nsHtml5ElementName* ELT_SUMMARY; + static nsHtml5ElementName* ELT_TENDSTO; + static nsHtml5ElementName* ELT_UPLIMIT; + static nsHtml5ElementName* ELT_ALTGLYPH; + static nsHtml5ElementName* ELT_BASEFONT; + static nsHtml5ElementName* ELT_CLIPPATH; + static nsHtml5ElementName* ELT_CODOMAIN; + static nsHtml5ElementName* ELT_COLGROUP; + static nsHtml5ElementName* ELT_EMPTYSET; + static nsHtml5ElementName* ELT_FACTOROF; + static nsHtml5ElementName* ELT_FIELDSET; + static nsHtml5ElementName* ELT_FRAMESET; + static nsHtml5ElementName* ELT_FEOFFSET; + static nsHtml5ElementName* ELT_GLYPHREF; + static nsHtml5ElementName* ELT_INTERVAL; + static nsHtml5ElementName* ELT_INTEGERS; + static nsHtml5ElementName* ELT_INFINITY; + static nsHtml5ElementName* ELT_LISTENER; + static nsHtml5ElementName* ELT_LOWLIMIT; + static nsHtml5ElementName* ELT_METADATA; + static nsHtml5ElementName* ELT_MENCLOSE; + static nsHtml5ElementName* ELT_MENUITEM; + static nsHtml5ElementName* ELT_MPHANTOM; + static nsHtml5ElementName* ELT_NOFRAMES; + static nsHtml5ElementName* ELT_NOSCRIPT; + static nsHtml5ElementName* ELT_OPTGROUP; + static nsHtml5ElementName* ELT_POLYLINE; + static nsHtml5ElementName* ELT_PREFETCH; + static nsHtml5ElementName* ELT_PROGRESS; + static nsHtml5ElementName* ELT_PRSUBSET; + static nsHtml5ElementName* ELT_QUOTIENT; + static nsHtml5ElementName* ELT_SELECTOR; + static nsHtml5ElementName* ELT_TEXTAREA; + static nsHtml5ElementName* ELT_TEMPLATE; + static nsHtml5ElementName* ELT_TEXTPATH; + static nsHtml5ElementName* ELT_VARIANCE; + static nsHtml5ElementName* ELT_ANIMATION; + static nsHtml5ElementName* ELT_CONJUGATE; + static nsHtml5ElementName* ELT_CONDITION; + static nsHtml5ElementName* ELT_COMPLEXES; + static nsHtml5ElementName* ELT_FONT_FACE; + static nsHtml5ElementName* ELT_FACTORIAL; + static nsHtml5ElementName* ELT_INTERSECT; + static nsHtml5ElementName* ELT_IMAGINARY; + static nsHtml5ElementName* ELT_LAPLACIAN; + static nsHtml5ElementName* ELT_MATRIXROW; + static nsHtml5ElementName* ELT_NOTSUBSET; + static nsHtml5ElementName* ELT_OTHERWISE; + static nsHtml5ElementName* ELT_PIECEWISE; + static nsHtml5ElementName* ELT_PLAINTEXT; + static nsHtml5ElementName* ELT_RATIONALS; + static nsHtml5ElementName* ELT_SEMANTICS; + static nsHtml5ElementName* ELT_TRANSPOSE; + static nsHtml5ElementName* ELT_ANNOTATION; + static nsHtml5ElementName* ELT_BLOCKQUOTE; + static nsHtml5ElementName* ELT_DIVERGENCE; + static nsHtml5ElementName* ELT_EULERGAMMA; + static nsHtml5ElementName* ELT_EQUIVALENT; + static nsHtml5ElementName* ELT_FIGCAPTION; + static nsHtml5ElementName* ELT_IMAGINARYI; + static nsHtml5ElementName* ELT_MALIGNMARK; + static nsHtml5ElementName* ELT_MUNDEROVER; + static nsHtml5ElementName* ELT_MLABELEDTR; + static nsHtml5ElementName* ELT_NOTANUMBER; + static nsHtml5ElementName* ELT_SOLIDCOLOR; + static nsHtml5ElementName* ELT_ALTGLYPHDEF; + static nsHtml5ElementName* ELT_DETERMINANT; + static nsHtml5ElementName* ELT_FEMERGENODE; + static nsHtml5ElementName* ELT_FECOMPOSITE; + static nsHtml5ElementName* ELT_FESPOTLIGHT; + static nsHtml5ElementName* ELT_MALIGNGROUP; + static nsHtml5ElementName* ELT_MPRESCRIPTS; + static nsHtml5ElementName* ELT_MOMENTABOUT; + static nsHtml5ElementName* ELT_NOTPRSUBSET; + static nsHtml5ElementName* ELT_PARTIALDIFF; + static nsHtml5ElementName* ELT_ALTGLYPHITEM; + static nsHtml5ElementName* ELT_ANIMATECOLOR; + static nsHtml5ElementName* ELT_DATATEMPLATE; + static nsHtml5ElementName* ELT_EXPONENTIALE; + static nsHtml5ElementName* ELT_FETURBULENCE; + static nsHtml5ElementName* ELT_FEPOINTLIGHT; + static nsHtml5ElementName* ELT_FEDROPSHADOW; + static nsHtml5ElementName* ELT_FEMORPHOLOGY; + static nsHtml5ElementName* ELT_OUTERPRODUCT; + static nsHtml5ElementName* ELT_ANIMATEMOTION; + static nsHtml5ElementName* ELT_COLOR_PROFILE; + static nsHtml5ElementName* ELT_FONT_FACE_SRC; + static nsHtml5ElementName* ELT_FONT_FACE_URI; + static nsHtml5ElementName* ELT_FOREIGNOBJECT; + static nsHtml5ElementName* ELT_FECOLORMATRIX; + static nsHtml5ElementName* ELT_MISSING_GLYPH; + static nsHtml5ElementName* ELT_MMULTISCRIPTS; + static nsHtml5ElementName* ELT_SCALARPRODUCT; + static nsHtml5ElementName* ELT_VECTORPRODUCT; + static nsHtml5ElementName* ELT_ANNOTATION_XML; + static nsHtml5ElementName* ELT_DEFINITION_SRC; + static nsHtml5ElementName* ELT_FONT_FACE_NAME; + static nsHtml5ElementName* ELT_FEGAUSSIANBLUR; + static nsHtml5ElementName* ELT_FEDISTANTLIGHT; + static nsHtml5ElementName* ELT_LINEARGRADIENT; + static nsHtml5ElementName* ELT_NATURALNUMBERS; + static nsHtml5ElementName* ELT_RADIALGRADIENT; + static nsHtml5ElementName* ELT_ANIMATETRANSFORM; + static nsHtml5ElementName* ELT_CARTESIANPRODUCT; + static nsHtml5ElementName* ELT_FONT_FACE_FORMAT; + static nsHtml5ElementName* ELT_FECONVOLVEMATRIX; + static nsHtml5ElementName* ELT_FEDIFFUSELIGHTING; + static nsHtml5ElementName* ELT_FEDISPLACEMENTMAP; + static nsHtml5ElementName* ELT_FESPECULARLIGHTING; + static nsHtml5ElementName* ELT_DOMAINOFAPPLICATION; + static nsHtml5ElementName* ELT_FECOMPONENTTRANSFER; + private: + static nsHtml5ElementName** ELEMENT_NAMES; + static staticJArray<int32_t,int32_t> ELEMENT_HASHES; + public: + static void initializeStatics(); + static void releaseStatics(); +}; + +#define NS_HTML5ELEMENT_NAME_GROUP_MASK 127 +#define NS_HTML5ELEMENT_NAME_CUSTOM (1 << 30) +#define NS_HTML5ELEMENT_NAME_SPECIAL (1 << 29) +#define NS_HTML5ELEMENT_NAME_FOSTER_PARENTING (1 << 28) +#define NS_HTML5ELEMENT_NAME_SCOPING (1 << 27) +#define NS_HTML5ELEMENT_NAME_SCOPING_AS_SVG (1 << 26) +#define NS_HTML5ELEMENT_NAME_SCOPING_AS_MATHML (1 << 25) +#define NS_HTML5ELEMENT_NAME_HTML_INTEGRATION_POINT (1 << 24) +#define NS_HTML5ELEMENT_NAME_OPTIONAL_END_TAG (1 << 23) + + +#endif + |