mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
![]() While we're still supporting both the old and the new parser, we have to deal with the way they load inline stylesheet (and scripts) a bit differently. The old parser loads all the text content up front, and then notifies the containing element. The new parser creates the containing element up front and appends text inside it afterwards. For now, we simply do an empty "children_changed" notification when first inserting a text node inside an element. This at least prevents the CSS parser from choking on a single-character stylesheet. |
||
---|---|---|
.. | ||
CSSParser.cpp | ||
CSSParser.h | ||
HTMLDocumentParser.cpp | ||
HTMLDocumentParser.h | ||
HTMLParser.cpp | ||
HTMLParser.h | ||
HTMLToken.cpp | ||
HTMLToken.h | ||
HTMLTokenizer.cpp | ||
HTMLTokenizer.h | ||
ListOfActiveFormattingElements.cpp | ||
ListOfActiveFormattingElements.h | ||
StackOfOpenElements.cpp | ||
StackOfOpenElements.h |