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