1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 00:31:07 +00:00
serenity/Libraries/LibWeb
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
..
Bindings LibWeb: Add "navigator" object and expose navigator.userAgent 2020-04-03 18:12:20 +02:00
CodeGenerators AK: Add FlyString, a simple flyweight string class 2020-03-22 13:03:43 +01:00
CSS LibWeb: CSS: Add "position: absolute" with top and left 2020-03-23 20:17:29 +01:00
DOM LibWeb: Implement <script src> support for synchronous scripts 2020-04-03 23:06:09 +02:00
Layout LibWeb: Implement <script src> support for synchronous scripts 2020-04-03 23:06:09 +02:00
Parser LibWeb: Implement <script src> support for synchronous scripts 2020-04-03 23:06:09 +02:00
Scripts LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DOMTreeModel.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DOMTreeModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Dump.cpp LibWeb: Support more advanced selectors in document.querySelectorAll() 2020-03-30 11:35:39 +02:00
Dump.h LibWeb: Add naive support for document.querySelectorAll() 2020-03-30 11:35:39 +02:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Forward.h LibWeb+LibJS: Move DOM Window object to dedicated classes 2020-04-01 18:57:00 +02:00
Frame.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Frame.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
HtmlView.cpp LibWeb: Protect DOM node while preparing to send mouse events 2020-04-03 21:34:57 +02:00
HtmlView.h Browser: Add error page 2020-04-01 18:49:48 +02:00
Makefile LibWeb: Add NavigatorObject to Makefile 2020-04-03 20:04:21 +02:00
RenderingContext.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
ResourceLoader.cpp LibWeb: Add ResourceLoader::load_sync() 2020-04-03 22:58:05 +02:00
ResourceLoader.h LibWeb: Add ResourceLoader::load_sync() 2020-04-03 22:58:05 +02:00
StylePropertiesModel.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StylePropertiesModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
TreeNode.h LibWeb: Implement <script src> support for synchronous scripts 2020-04-03 23:06:09 +02:00