diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Element.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Element.cpp b/Userland/Libraries/LibWeb/DOM/Element.cpp index 04aece7450..0f2304a085 100644 --- a/Userland/Libraries/LibWeb/DOM/Element.cpp +++ b/Userland/Libraries/LibWeb/DOM/Element.cpp @@ -383,7 +383,7 @@ void Element::set_shadow_root(RefPtr<ShadowRoot> shadow_root) NonnullRefPtr<CSS::CSSStyleDeclaration> Element::style_for_bindings() { if (!m_inline_style) - m_inline_style = CSS::CSSStyleDeclaration::create({}); + m_inline_style = CSS::ElementInlineCSSStyleDeclaration::create(*this); return *m_inline_style; } |