diff options
author | Andreas Kling <kling@serenityos.org> | 2022-09-19 13:34:36 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-20 10:32:12 +0200 |
commit | 03375a3dc9e0cef259b8d8154b7a28a41d60aba8 (patch) | |
tree | c5c62a1a8da16752992ce6dc7b3bd1b04882df56 /Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.h | |
parent | 0810e77d77407943674ba154ea5579a9ca03239f (diff) | |
download | serenity-03375a3dc9e0cef259b8d8154b7a28a41d60aba8.zip |
LibWeb: Implement more spec-compliant iframe/frame attribute processing
We're still missing the lazy loading attribute handling, and once we hit
the navigation step, we fall back to totally ad-hoc behavior instead of
going all the way with a Fetch Request.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.h b/Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.h index 80228438ac..7009a3867a 100644 --- a/Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.h +++ b/Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.h @@ -29,6 +29,12 @@ public: protected: BrowsingContextContainer(DOM::Document&, DOM::QualifiedName); + // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#shared-attribute-processing-steps-for-iframe-and-frame-elements + void shared_attribute_processing_steps_for_iframe_and_frame(bool initial_insertion); + + // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#navigate-an-iframe-or-frame + void navigate_an_iframe_or_frame(Fetch::Infrastructure::Request); + void create_new_nested_browsing_context(); void discard_nested_browsing_context(); |