diff options
author | Andreas Kling <kling@serenityos.org> | 2022-08-04 21:30:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-05 12:46:40 +0200 |
commit | 602f927982dc7a1a824c8b85ba7075482a4d170e (patch) | |
tree | 9d5210ea51d64e5deab7bba69e6405e364c28ad2 /Userland/Libraries/LibM | |
parent | 0781bdb23e43412a3e591a9574bdee5c17364aa4 (diff) | |
download | serenity-602f927982dc7a1a824c8b85ba7075482a4d170e.zip |
LibWeb: Start implementing "create and initialize a Document" from HTML
The way we've been creating DOM::Document has been pretty far from what
the spec tells us to do, and this is a first big step towards getting us
closer to spec.
The new Document::create_and_initialize() is called by FrameLoader after
loading a "text/html" resource.
We create the JS Realm and the Window object when creating the Document
(previously, we'd do it on first access to Document::interpreter().)
The realm execution context is owned by the Environment Settings Object.
Diffstat (limited to 'Userland/Libraries/LibM')
0 files changed, 0 insertions, 0 deletions