1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00
serenity/Libraries/LibWeb/Parser
Andreas Kling f69001339f LibWeb: Handle inline stylesheets a bit better in the new parser
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.
2020-05-28 00:23:34 +02:00
..
CSSParser.cpp LibWeb: Make the CSS parser a little more tolerant to invalid CSS 2020-05-26 22:31:22 +02:00
CSSParser.h AK: Stop allowing implicit downcast with RefPtr and NonnullRefPtr 2020-04-05 11:19:00 +02:00
HTMLDocumentParser.cpp LibWeb: Handle inline stylesheets a bit better in the new parser 2020-05-28 00:23:34 +02:00
HTMLDocumentParser.h LibWeb: Implement the first half of the Adoption Agency Algorithm 2020-05-27 23:22:42 +02:00
HTMLParser.cpp LibWeb: Add more HTML entities 2020-05-26 22:23:09 +02:00
HTMLParser.h LibWeb: Handle iso-8859-1 web content a little bit better 2020-05-03 23:01:58 +02:00
HTMLToken.cpp LibWeb: More work on the HTML parser and tokenizer 2020-05-24 23:54:22 +02:00
HTMLToken.h LibWeb: Handle some more parser inputs in the "in head" insertion mode 2020-05-25 20:16:48 +02:00
HTMLTokenizer.cpp LibWeb: Implement the "after attribute name" tokenizer state 2020-05-27 18:30:29 +02:00
HTMLTokenizer.h LibWeb: Bring up basic external script execution in the new parser 2020-05-27 23:02:03 +02:00
ListOfActiveFormattingElements.cpp LibWeb: Implement the first half of the Adoption Agency Algorithm 2020-05-27 23:22:42 +02:00
ListOfActiveFormattingElements.h LibWeb: Implement the first half of the Adoption Agency Algorithm 2020-05-27 23:22:42 +02:00
StackOfOpenElements.cpp LibWeb: Implement the first half of the Adoption Agency Algorithm 2020-05-27 23:22:42 +02:00
StackOfOpenElements.h LibWeb: Implement the first half of the Adoption Agency Algorithm 2020-05-27 23:22:42 +02:00