Skip to content

Commit 8f7e642

Browse files
trflynn89awesomekling
authored andcommitted
LibWeb: Move HTMLObjectElement spec link to correct method
1 parent 20eb441 commit 8f7e642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Userland/Libraries/LibWeb/HTML/HTMLObjectElement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ void HTMLObjectElement::run_object_representation_completed_steps()
200200
// 4.12. Return.
201201
}
202202

203+
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-object-element:the-object-element-23
203204
void HTMLObjectElement::run_object_representation_fallback_steps()
204205
{
205206
// 6. Fallback: The object element represents the element's children, ignoring any leading param element children. This is the element's fallback content. If the element has an instantiated plugin, then unload it. If the element's nested browsing context is non-null, then it must be discarded and then set to null.
@@ -209,7 +210,6 @@ void HTMLObjectElement::run_object_representation_fallback_steps()
209210
document().set_needs_layout();
210211
}
211212

212-
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-object-element:the-object-element-23
213213
void HTMLObjectElement::convert_resource_to_image()
214214
{
215215
// FIXME: This is a bit awkward. We convert the Resource to an ImageResource here because we do not know

0 commit comments

Comments
 (0)