mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibWeb: Rename "FrameHostElement" to "BrowsingContextContainer"
With the renaming of "Frame" to "BrowsingContext", this changes "FrameHostElement" to "BrowsingContextContainer" to further match the spec. https://html.spec.whatwg.org/#browsing-context-container
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
namespace Web::HTML {
|
||||
|
||||
HTMLIFrameElement::HTMLIFrameElement(DOM::Document& document, QualifiedName qualified_name)
|
||||
: FrameHostElement(document, move(qualified_name))
|
||||
: BrowsingContextContainer(document, move(qualified_name))
|
||||
{
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ void HTMLIFrameElement::parse_attribute(const FlyString& name, const String& val
|
||||
|
||||
void HTMLIFrameElement::inserted()
|
||||
{
|
||||
FrameHostElement::inserted();
|
||||
BrowsingContextContainer::inserted();
|
||||
if (is_connected())
|
||||
load_src(attribute(HTML::AttributeNames::src));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user