2 * Copyright (c) 2007 Henri Sivonen
3 * Copyright (c) 2007-2017 Mozilla Foundation
4 * Portions of comments Copyright 2004-2008 Apple Computer, Inc., Mozilla
5 * Foundation, and Opera Software ASA.
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
14 * The above copyright notice and this permission notice shall be included in
15 * all copies or substantial portions of the Software.
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE.
27 * THIS IS A GENERATED FILE. PLEASE DO NOT EDIT.
28 * Please edit TreeBuilder.java instead and regenerate.
31 #ifndef nsHtml5TreeBuilder_h
32 #define nsHtml5TreeBuilder_h
35 #include "mozilla/ImportScanner.h"
36 #include "mozilla/Likely.h"
37 #include "nsAHtml5TreeBuilderState.h"
39 #include "nsContentUtils.h"
40 #include "nsGkAtoms.h"
41 #include "nsHtml5ArrayCopy.h"
42 #include "nsHtml5AtomTable.h"
43 #include "nsHtml5DocumentMode.h"
44 #include "nsHtml5Highlighter.h"
45 #include "nsHtml5OplessBuilder.h"
46 #include "nsHtml5Parser.h"
47 #include "nsHtml5PlainTextUtils.h"
48 #include "nsHtml5StackNode.h"
49 #include "nsHtml5StateSnapshot.h"
50 #include "nsHtml5StreamParser.h"
51 #include "nsHtml5String.h"
52 #include "nsHtml5TreeOperation.h"
53 #include "nsHtml5TreeOpExecutor.h"
54 #include "nsHtml5ViewSourceUtils.h"
55 #include "nsIContent.h"
56 #include "nsIContentHandle.h"
57 #include "nsNameSpaceManager.h"
58 #include "nsTraceRefcnt.h"
60 class nsHtml5StreamParser
;
62 class nsHtml5AttributeName
;
63 class nsHtml5ElementName
;
64 class nsHtml5Tokenizer
;
65 class nsHtml5UTF16Buffer
;
66 class nsHtml5StateSnapshot
;
67 class nsHtml5Portability
;
69 class nsHtml5TreeBuilder
: public nsAHtml5TreeBuilderState
{
71 static char16_t REPLACEMENT_CHARACTER
[];
74 static const int32_t OTHER
= 0;
76 static const int32_t A
= 1;
78 static const int32_t BASE
= 2;
80 static const int32_t BODY
= 3;
82 static const int32_t BR
= 4;
84 static const int32_t BUTTON
= 5;
86 static const int32_t CAPTION
= 6;
88 static const int32_t COL
= 7;
90 static const int32_t COLGROUP
= 8;
92 static const int32_t FORM
= 9;
94 static const int32_t FRAME
= 10;
96 static const int32_t FRAMESET
= 11;
98 static const int32_t IMAGE
= 12;
100 static const int32_t INPUT
= 13;
102 static const int32_t RT_OR_RP
= 14;
104 static const int32_t LI
= 15;
106 static const int32_t LINK_OR_BASEFONT_OR_BGSOUND
= 16;
108 static const int32_t MATH
= 17;
110 static const int32_t META
= 18;
112 static const int32_t SVG
= 19;
114 static const int32_t HEAD
= 20;
116 static const int32_t HR
= 22;
118 static const int32_t HTML
= 23;
120 static const int32_t NOBR
= 24;
122 static const int32_t NOFRAMES
= 25;
124 static const int32_t NOSCRIPT
= 26;
126 static const int32_t OPTGROUP
= 27;
128 static const int32_t OPTION
= 28;
130 static const int32_t P
= 29;
132 static const int32_t PLAINTEXT
= 30;
134 static const int32_t SCRIPT
= 31;
136 static const int32_t SELECT
= 32;
138 static const int32_t STYLE
= 33;
140 static const int32_t TABLE
= 34;
142 static const int32_t TEXTAREA
= 35;
144 static const int32_t TITLE
= 36;
146 static const int32_t TR
= 37;
148 static const int32_t XMP
= 38;
150 static const int32_t TBODY_OR_THEAD_OR_TFOOT
= 39;
152 static const int32_t TD_OR_TH
= 40;
154 static const int32_t DD_OR_DT
= 41;
156 static const int32_t H1_OR_H2_OR_H3_OR_H4_OR_H5_OR_H6
= 42;
158 static const int32_t MARQUEE_OR_APPLET
= 43;
160 static const int32_t PRE_OR_LISTING
= 44;
163 B_OR_BIG_OR_CODE_OR_EM_OR_I_OR_S_OR_SMALL_OR_STRIKE_OR_STRONG_OR_TT_OR_U
=
166 static const int32_t UL_OR_OL_OR_DL
= 46;
168 static const int32_t IFRAME
= 47;
170 static const int32_t EMBED
= 48;
172 static const int32_t AREA_OR_WBR
= 49;
174 static const int32_t DIV_OR_BLOCKQUOTE_OR_CENTER_OR_MENU
= 50;
177 ADDRESS_OR_ARTICLE_OR_ASIDE_OR_DETAILS_OR_DIALOG_OR_DIR_OR_FIGCAPTION_OR_FIGURE_OR_FOOTER_OR_HEADER_OR_HGROUP_OR_MAIN_OR_NAV_OR_SEARCH_OR_SECTION_OR_SUMMARY
=
180 static const int32_t RUBY_OR_SPAN_OR_SUB_OR_SUP_OR_VAR
= 52;
182 static const int32_t RB_OR_RTC
= 53;
184 static const int32_t PARAM_OR_SOURCE_OR_TRACK
= 55;
186 static const int32_t MGLYPH_OR_MALIGNMARK
= 56;
188 static const int32_t MI_MO_MN_MS_MTEXT
= 57;
190 static const int32_t ANNOTATION_XML
= 58;
192 static const int32_t FOREIGNOBJECT_OR_DESC
= 59;
194 static const int32_t NOEMBED
= 60;
196 static const int32_t FIELDSET
= 61;
198 static const int32_t OUTPUT
= 62;
200 static const int32_t OBJECT
= 63;
202 static const int32_t FONT
= 64;
204 static const int32_t KEYGEN
= 65;
206 static const int32_t TEMPLATE
= 66;
208 static const int32_t IMG
= 67;
211 static const int32_t IN_ROW
= 0;
213 static const int32_t IN_TABLE_BODY
= 1;
215 static const int32_t IN_TABLE
= 2;
217 static const int32_t IN_CAPTION
= 3;
219 static const int32_t IN_CELL
= 4;
221 static const int32_t FRAMESET_OK
= 5;
223 static const int32_t IN_BODY
= 6;
225 static const int32_t IN_HEAD
= 7;
227 static const int32_t IN_HEAD_NOSCRIPT
= 8;
229 static const int32_t IN_COLUMN_GROUP
= 9;
231 static const int32_t IN_SELECT_IN_TABLE
= 10;
233 static const int32_t IN_SELECT
= 11;
235 static const int32_t AFTER_BODY
= 12;
237 static const int32_t IN_FRAMESET
= 13;
239 static const int32_t AFTER_FRAMESET
= 14;
241 static const int32_t INITIAL
= 15;
243 static const int32_t BEFORE_HTML
= 16;
245 static const int32_t BEFORE_HEAD
= 17;
247 static const int32_t AFTER_HEAD
= 18;
249 static const int32_t AFTER_AFTER_BODY
= 19;
251 static const int32_t AFTER_AFTER_FRAMESET
= 20;
253 static const int32_t TEXT
= 21;
255 static const int32_t IN_TEMPLATE
= 22;
257 static const int32_t CHARSET_INITIAL
= 0;
259 static const int32_t CHARSET_C
= 1;
261 static const int32_t CHARSET_H
= 2;
263 static const int32_t CHARSET_A
= 3;
265 static const int32_t CHARSET_R
= 4;
267 static const int32_t CHARSET_S
= 5;
269 static const int32_t CHARSET_E
= 6;
271 static const int32_t CHARSET_T
= 7;
273 static const int32_t CHARSET_EQUALS
= 8;
275 static const int32_t CHARSET_SINGLE_QUOTED
= 9;
277 static const int32_t CHARSET_DOUBLE_QUOTED
= 10;
279 static const int32_t CHARSET_UNQUOTED
= 11;
281 static staticJArray
<const char*, int32_t> QUIRKY_PUBLIC_IDS
;
282 static const int32_t NOT_FOUND_ON_STACK
= INT32_MAX
;
285 int32_t originalMode
;
289 nsHtml5Tokenizer
* tokenizer
;
292 bool scriptingEnabled
;
295 RefPtr
<nsAtom
> contextName
;
296 int32_t contextNamespace
;
297 nsIContentHandle
* contextNode
;
298 autoJArray
<int32_t, int32_t> templateModeStack
;
299 int32_t templateModePtr
;
300 autoJArray
<nsHtml5StackNode
*, int32_t> stackNodes
;
301 int32_t stackNodesIdx
;
302 int32_t numStackNodes
;
303 autoJArray
<nsHtml5StackNode
*, int32_t> stack
;
305 autoJArray
<nsHtml5StackNode
*, int32_t> listOfActiveFormattingElements
;
307 nsIContentHandle
* formPointer
;
308 nsIContentHandle
* headPointer
;
311 autoJArray
<char16_t
, int32_t> charBuffer
;
312 int32_t charBufferLen
;
317 bool allowDeclarativeShadowRoots
;
319 inline nsHtml5ContentCreatorFunction
htmlCreator(
320 mozilla::dom::HTMLContentCreatorFunction htmlCreator
) {
321 nsHtml5ContentCreatorFunction creator
;
322 creator
.html
= htmlCreator
;
326 inline nsHtml5ContentCreatorFunction
svgCreator(
327 mozilla::dom::SVGContentCreatorFunction svgCreator
) {
328 nsHtml5ContentCreatorFunction creator
;
329 creator
.svg
= svgCreator
;
334 void setKeepBuffer(bool keepBuffer
);
335 bool dropBufferIfLongerThan(int32_t length
);
336 void startTokenization(nsHtml5Tokenizer
* self
);
337 void doctype(nsAtom
* name
, nsHtml5String publicIdentifier
,
338 nsHtml5String systemIdentifier
, bool forceQuirks
);
339 void comment(char16_t
* buf
, int32_t start
, int32_t length
);
340 void characters(const char16_t
* buf
, int32_t start
, int32_t length
);
341 void zeroOriginatingReplacementCharacter();
342 void zeroOrReplacementCharacter();
344 void endTokenization();
345 void startTag(nsHtml5ElementName
* elementName
,
346 nsHtml5HtmlAttributes
* attributes
, bool selfClosing
);
349 void startTagTitleInHead(nsHtml5ElementName
* elementName
,
350 nsHtml5HtmlAttributes
* attributes
);
351 void startTagGenericRawText(nsHtml5ElementName
* elementName
,
352 nsHtml5HtmlAttributes
* attributes
);
353 void startTagScriptInHead(nsHtml5ElementName
* elementName
,
354 nsHtml5HtmlAttributes
* attributes
);
355 void startTagTemplateInHead(nsHtml5ElementName
* elementName
,
356 nsHtml5HtmlAttributes
* attributes
);
357 bool isTemplateContents();
358 bool isTemplateModeStackEmpty();
359 bool isSpecialParentInForeign(nsHtml5StackNode
* stackNode
);
360 nsIContentHandle
* getDeclarativeShadowRoot(nsIContentHandle
* currentNode
,
361 nsIContentHandle
* templateNode
,
362 nsHtml5HtmlAttributes
* attributes
);
365 static nsHtml5String
extractCharsetFromContent(nsHtml5String attributeValue
,
366 nsHtml5TreeBuilder
* tb
);
369 void checkMetaCharset(nsHtml5HtmlAttributes
* attributes
);
372 void endTag(nsHtml5ElementName
* elementName
);
375 void endTagTemplateInHead();
376 int32_t findLastInTableScopeOrRootTemplateTbodyTheadTfoot();
377 int32_t findLast(nsAtom
* name
);
378 int32_t findLastInTableScope(nsAtom
* name
);
379 int32_t findLastInButtonScope(nsAtom
* name
);
380 int32_t findLastInScope(nsAtom
* name
);
381 int32_t findLastInListScope(nsAtom
* name
);
382 int32_t findLastInScopeHn();
383 void generateImpliedEndTagsExceptFor(nsAtom
* name
);
384 void generateImpliedEndTags();
385 void generateImpliedEndTagsThoroughly();
386 bool isSecondOnStackBody();
387 void documentModeInternal(nsHtml5DocumentMode m
,
388 nsHtml5String publicIdentifier
,
389 nsHtml5String systemIdentifier
);
390 bool isAlmostStandards(nsHtml5String publicIdentifier
,
391 nsHtml5String systemIdentifier
);
392 bool isQuirky(nsAtom
* name
, nsHtml5String publicIdentifier
,
393 nsHtml5String systemIdentifier
, bool forceQuirks
);
394 void closeTheCell(int32_t eltPos
);
395 int32_t findLastInTableScopeTdTh();
396 void clearStackBackTo(int32_t eltPos
);
397 void resetTheInsertionMode();
398 void implicitlyCloseP();
399 bool debugOnlyClearLastStackSlot();
400 bool debugOnlyClearLastListSlot();
401 void pushTemplateMode(int32_t mode
);
402 void push(nsHtml5StackNode
* node
);
403 void silentPush(nsHtml5StackNode
* node
);
404 void append(nsHtml5StackNode
* node
);
405 inline void insertMarker() { append(nullptr); }
407 void clearTheListOfActiveFormattingElementsUpToTheLastMarker();
408 inline bool isCurrent(nsAtom
* name
) {
409 return stack
[currentPtr
]->ns
== kNameSpaceID_XHTML
&&
410 name
== stack
[currentPtr
]->name
;
413 void removeFromStack(int32_t pos
);
414 void removeFromStack(nsHtml5StackNode
* node
);
415 void removeFromListOfActiveFormattingElements(int32_t pos
);
416 bool adoptionAgencyEndTag(nsAtom
* name
);
417 void insertIntoStack(nsHtml5StackNode
* node
, int32_t position
);
418 void insertIntoListOfActiveFormattingElements(
419 nsHtml5StackNode
* formattingClone
, int32_t bookmark
);
420 int32_t findInListOfActiveFormattingElements(nsHtml5StackNode
* node
);
421 int32_t findInListOfActiveFormattingElementsContainsBetweenEndAndLastMarker(
423 void maybeForgetEarlierDuplicateFormattingElement(
424 nsAtom
* name
, nsHtml5HtmlAttributes
* attributes
);
425 int32_t findLastOrRoot(nsAtom
* name
);
426 int32_t findLastOrRoot(int32_t group
);
427 bool addAttributesToBody(nsHtml5HtmlAttributes
* attributes
);
428 void addAttributesToHtml(nsHtml5HtmlAttributes
* attributes
);
429 void pushHeadPointerOntoStack();
430 void reconstructTheActiveFormattingElements();
433 void notifyUnusedStackNode(int32_t idxInStackNodes
);
436 nsHtml5StackNode
* getUnusedStackNode();
437 nsHtml5StackNode
* createStackNode(
438 int32_t flags
, int32_t ns
, nsAtom
* name
, nsIContentHandle
* node
,
439 nsAtom
* popName
, nsHtml5HtmlAttributes
* attributes
,
440 mozilla::dom::HTMLContentCreatorFunction htmlCreator
);
441 nsHtml5StackNode
* createStackNode(nsHtml5ElementName
* elementName
,
442 nsIContentHandle
* node
);
443 nsHtml5StackNode
* createStackNode(nsHtml5ElementName
* elementName
,
444 nsIContentHandle
* node
,
445 nsHtml5HtmlAttributes
* attributes
);
446 nsHtml5StackNode
* createStackNode(nsHtml5ElementName
* elementName
,
447 nsIContentHandle
* node
, nsAtom
* popName
);
448 nsHtml5StackNode
* createStackNode(nsHtml5ElementName
* elementName
,
449 nsAtom
* popName
, nsIContentHandle
* node
);
450 nsHtml5StackNode
* createStackNode(nsHtml5ElementName
* elementName
,
451 nsIContentHandle
* node
, nsAtom
* popName
,
452 bool markAsIntegrationPoint
);
453 void insertIntoFosterParent(nsIContentHandle
* child
);
454 nsIContentHandle
* createAndInsertFosterParentedElement(
455 int32_t ns
, nsAtom
* name
, nsHtml5HtmlAttributes
* attributes
,
456 nsHtml5ContentCreatorFunction creator
);
457 nsIContentHandle
* createAndInsertFosterParentedElement(
458 int32_t ns
, nsAtom
* name
, nsHtml5HtmlAttributes
* attributes
,
459 nsIContentHandle
* form
, nsHtml5ContentCreatorFunction creator
);
460 bool isInStack(nsHtml5StackNode
* node
);
461 void popTemplateMode();
463 void popForeign(int32_t origPos
, int32_t eltPos
);
466 void appendHtmlElementToDocumentAndPush(nsHtml5HtmlAttributes
* attributes
);
467 void appendHtmlElementToDocumentAndPush();
468 void appendToCurrentNodeAndPushHeadElement(nsHtml5HtmlAttributes
* attributes
);
469 void appendToCurrentNodeAndPushBodyElement(nsHtml5HtmlAttributes
* attributes
);
470 void appendToCurrentNodeAndPushBodyElement();
471 void appendToCurrentNodeAndPushFormElementMayFoster(
472 nsHtml5HtmlAttributes
* attributes
);
473 void appendToCurrentNodeAndPushFormattingElementMayFoster(
474 nsHtml5ElementName
* elementName
, nsHtml5HtmlAttributes
* attributes
);
475 void appendToCurrentNodeAndPushElement(nsHtml5ElementName
* elementName
,
476 nsHtml5HtmlAttributes
* attributes
);
477 void appendToCurrentNodeAndPushElementMayFoster(
478 nsHtml5ElementName
* elementName
, nsHtml5HtmlAttributes
* attributes
);
479 void appendToCurrentNodeAndPushElementMayFosterMathML(
480 nsHtml5ElementName
* elementName
, nsHtml5HtmlAttributes
* attributes
);
481 bool annotationXmlEncodingPermitsHtml(nsHtml5HtmlAttributes
* attributes
);
482 void appendToCurrentNodeAndPushElementMayFosterSVG(
483 nsHtml5ElementName
* elementName
, nsHtml5HtmlAttributes
* attributes
);
484 void appendToCurrentNodeAndPushElementMayFoster(
485 nsHtml5ElementName
* elementName
, nsHtml5HtmlAttributes
* attributes
,
486 nsIContentHandle
* form
);
487 void appendVoidElementToCurrent(nsHtml5ElementName
* elementName
,
488 nsHtml5HtmlAttributes
* attributes
);
489 void appendVoidElementToCurrentMayFoster(nsHtml5ElementName
* elementName
,
490 nsHtml5HtmlAttributes
* attributes
,
491 nsIContentHandle
* form
);
492 void appendVoidElementToCurrentMayFoster(nsHtml5ElementName
* elementName
,
493 nsHtml5HtmlAttributes
* attributes
);
494 void appendVoidElementToCurrentMayFosterSVG(
495 nsHtml5ElementName
* elementName
, nsHtml5HtmlAttributes
* attributes
);
496 void appendVoidElementToCurrentMayFosterMathML(
497 nsHtml5ElementName
* elementName
, nsHtml5HtmlAttributes
* attributes
);
498 void appendVoidInputToCurrent(nsHtml5HtmlAttributes
* attributes
,
499 nsIContentHandle
* form
);
500 void appendVoidFormToCurrent(nsHtml5HtmlAttributes
* attributes
);
503 void accumulateCharacters(const char16_t
* buf
, int32_t start
, int32_t length
);
504 void requestSuspension();
505 nsIContentHandle
* createElement(int32_t ns
, nsAtom
* name
,
506 nsHtml5HtmlAttributes
* attributes
,
507 nsIContentHandle
* intendedParent
,
508 nsHtml5ContentCreatorFunction creator
);
509 nsIContentHandle
* createElement(int32_t ns
, nsAtom
* name
,
510 nsHtml5HtmlAttributes
* attributes
,
511 nsIContentHandle
* form
,
512 nsIContentHandle
* intendedParent
,
513 nsHtml5ContentCreatorFunction creator
);
514 nsIContentHandle
* createHtmlElementSetAsRoot(
515 nsHtml5HtmlAttributes
* attributes
);
516 void detachFromParent(nsIContentHandle
* element
);
517 bool hasChildren(nsIContentHandle
* element
);
518 void appendElement(nsIContentHandle
* child
, nsIContentHandle
* newParent
);
519 void appendChildrenToNewParent(nsIContentHandle
* oldParent
,
520 nsIContentHandle
* newParent
);
521 void insertFosterParentedChild(nsIContentHandle
* child
,
522 nsIContentHandle
* table
,
523 nsIContentHandle
* stackParent
);
524 nsIContentHandle
* createAndInsertFosterParentedElement(
525 int32_t ns
, nsAtom
* name
, nsHtml5HtmlAttributes
* attributes
,
526 nsIContentHandle
* form
, nsIContentHandle
* table
,
527 nsIContentHandle
* stackParent
, nsHtml5ContentCreatorFunction creator
);
529 void insertFosterParentedCharacters(char16_t
* buf
, int32_t start
,
530 int32_t length
, nsIContentHandle
* table
,
531 nsIContentHandle
* stackParent
);
532 void appendCharacters(nsIContentHandle
* parent
, char16_t
* buf
, int32_t start
,
534 void appendComment(nsIContentHandle
* parent
, char16_t
* buf
, int32_t start
,
536 void appendCommentToDocument(char16_t
* buf
, int32_t start
, int32_t length
);
537 void addAttributesToElement(nsIContentHandle
* element
,
538 nsHtml5HtmlAttributes
* attributes
);
539 void markMalformedIfScript(nsIContentHandle
* elt
);
540 void start(bool fragmentMode
);
542 void appendDoctypeToDocument(nsAtom
* name
, nsHtml5String publicIdentifier
,
543 nsHtml5String systemIdentifier
);
544 void elementPushed(int32_t ns
, nsAtom
* name
, nsIContentHandle
* node
);
545 void elementPopped(int32_t ns
, nsAtom
* name
, nsIContentHandle
* node
);
548 inline bool cdataSectionAllowed() { return isInForeign(); }
552 bool isInForeignButNotHtmlOrMathTextIntegrationPoint();
555 void setFragmentContext(nsAtom
* context
, int32_t ns
, nsIContentHandle
* node
,
559 nsIContentHandle
* currentNode();
562 bool isScriptingEnabled();
563 void setScriptingEnabled(bool scriptingEnabled
);
564 void setForceNoQuirks(bool forceNoQuirks
);
565 void setIsSrcdocDocument(bool isSrcdocDocument
);
566 bool isAllowDeclarativeShadowRoots();
567 void setAllowDeclarativeShadowRoots(bool allow
);
568 void flushCharacters();
571 bool charBufferContainsNonWhitespace();
574 nsAHtml5TreeBuilderState
* newSnapshot();
575 bool snapshotMatches(nsAHtml5TreeBuilderState
* snapshot
);
576 void loadState(nsAHtml5TreeBuilderState
* snapshot
);
579 int32_t findInArray(nsHtml5StackNode
* node
,
580 jArray
<nsHtml5StackNode
*, int32_t> arr
);
581 nsIContentHandle
* nodeFromStackWithBlinkCompat(int32_t stackPos
);
584 nsIContentHandle
* getFormPointer() override
;
585 nsIContentHandle
* getHeadPointer() override
;
586 jArray
<nsHtml5StackNode
*, int32_t> getListOfActiveFormattingElements()
588 jArray
<nsHtml5StackNode
*, int32_t> getStack() override
;
589 jArray
<int32_t, int32_t> getTemplateModeStack() override
;
590 int32_t getMode() override
;
591 int32_t getOriginalMode() override
;
592 bool isFramesetOk() override
;
593 bool isNeedToDropLF() override
;
594 bool isQuirks() override
;
595 int32_t getListOfActiveFormattingElementsLength() override
;
596 int32_t getStackLength() override
;
597 int32_t getTemplateModeStackLength() override
;
598 static void initializeStatics();
599 static void releaseStatics();
601 #include "nsHtml5TreeBuilderHSupplement.h"