mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 22:15:07 +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:
parent
8298e406a4
commit
59cfc4a8db
5 changed files with 16 additions and 16 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue