mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 07:18:51 +00:00
LibWeb: Mark HTMLObjectElement as potentially delaying the load event
This commit is contained in:
parent
b859a6f2e0
commit
e88286b337
Notes:
github-actions[bot]
2024-11-26 17:59:08 +00:00
Author: https://github.com/awesomekling
Commit: e88286b337
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2592
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ GC_DEFINE_ALLOCATOR(HTMLObjectElement);
|
|||
HTMLObjectElement::HTMLObjectElement(DOM::Document& document, DOM::QualifiedName qualified_name)
|
||||
: NavigableContainer(document, move(qualified_name))
|
||||
{
|
||||
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-object-element:potentially-delays-the-load-event
|
||||
set_potentially_delays_the_load_event(true);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-object-element
|
||||
// Whenever one of the following conditions occur:
|
||||
// - the element is created,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue