summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLParser.h')
-rw-r--r--WebCore/html/HTMLParser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/html/HTMLParser.h b/WebCore/html/HTMLParser.h
index 866835f..251b323 100644
--- a/WebCore/html/HTMLParser.h
+++ b/WebCore/html/HTMLParser.h
@@ -159,6 +159,11 @@ private:
HTMLStackElem* blockStack;
+ // The number of tags with priority minBlockLevelTagPriority or higher
+ // currently in m_blockStack. The parser enforces a cap on this value by
+ // adding such new elements as siblings instead of children once it is reached.
+ size_t m_blocksInStack;
+
enum ElementInScopeState { NotInScope, InScope, Unknown };
ElementInScopeState m_hasPElementInScope;