mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 23:05:08 +00:00
![]() 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. |
||
---|---|---|
.. | ||
CSSParser.cpp | ||
CSSParser.h | ||
HTMLParser.cpp | ||
HTMLParser.h |