1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 23:05:08 +00:00
serenity/Libraries/LibWeb/Parser
Andreas Kling 56ca91b9f8 LibWeb: Implement <script src> support for synchronous scripts
Scripts loaded in this way will block the parser until they finish
executing. This means that they see the DOM before the whole document
has been fully parsed. This is all normal, of course.

To make this work, I changed the way we notify DOM nodes about tree
insertion. The inserted_into() callbacks are now incrementally invoked
during parse, as each node is appended to its parent.

To accomodate inline scripts and inline style sheets, we now also have
a children_changed() callback which is invoked on any parent when it
has children added/removed.
2020-04-03 23:06:09 +02:00
..
CSSParser.cpp LibWeb: Support more advanced selectors in document.querySelectorAll() 2020-03-30 11:35:39 +02:00
CSSParser.h LibWeb: Add naive support for document.querySelectorAll() 2020-03-30 11:35:39 +02:00
HTMLParser.cpp LibWeb: Implement <script src> support for synchronous scripts 2020-04-03 23:06:09 +02:00
HTMLParser.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00