mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibWeb: Mark HTMLObjectElement as potentially delaying the load event
This commit is contained in:
committed by
Andreas Kling
parent
b859a6f2e0
commit
e88286b337
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user