summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/TreeNode.h
AgeCommit message (Collapse)Author
2020-07-26LibWeb: Switch to using AK::is and AK::downcastAndreas Kling
2020-06-29LibWeb: Add LayoutRange::normalized()Andreas Kling
We use this to ensure that we're always working with a selection where the start() is before the end() in document order. That simplifies all the logic around this.
2020-06-21LibWeb: Add Node.insertBefore(Node node, Node? child)Andreas Kling
2020-05-24LibWeb: Add a way to opt out of TreeNode::append_child() notificationsAndreas Kling
This will be used temporarily by the new HTML parser while we're bringing it up.
2020-04-03LibWeb: Implement <script src> support for synchronous scriptsAndreas Kling
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-03-07LibWeb: Rename directory LibHTML => LibWebAndreas Kling
Let's rename this to LibWeb since it aims to provide more parts of the web platform than just HTML. :^)