diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/ShadowRoot.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/ShadowRoot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/ShadowRoot.cpp b/Userland/Libraries/LibWeb/DOM/ShadowRoot.cpp index 0f2d1d8223..7c7759f453 100644 --- a/Userland/Libraries/LibWeb/DOM/ShadowRoot.cpp +++ b/Userland/Libraries/LibWeb/DOM/ShadowRoot.cpp @@ -8,7 +8,7 @@ #include <LibWeb/DOM/Event.h> #include <LibWeb/DOM/ShadowRoot.h> #include <LibWeb/DOMParsing/InnerHTML.h> -#include <LibWeb/Layout/BlockBox.h> +#include <LibWeb/Layout/BlockContainer.h> namespace Web::DOM { @@ -32,7 +32,7 @@ EventTarget* ShadowRoot::get_parent(const Event& event) RefPtr<Layout::Node> ShadowRoot::create_layout_node() { - return adopt_ref(*new Layout::BlockBox(document(), this, CSS::ComputedValues {})); + return adopt_ref(*new Layout::BlockContainer(document(), this, CSS::ComputedValues {})); } // https://w3c.github.io/DOM-Parsing/#dom-innerhtml-innerhtml |