diff options
-rw-r--r-- | Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp index 69b89bdfbc..1bf9adfb17 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp @@ -37,6 +37,8 @@ JS::GCPtr<Layout::Node> SVGSVGElement::create_layout_node(NonnullRefPtr<CSS::Sty void SVGSVGElement::apply_presentational_hints(CSS::StyleProperties& style) const { + Base::apply_presentational_hints(style); + // NOTE: Hack to ensure SVG unitless widths/heights are parsed even with <!DOCTYPE html> auto previous_quirks_mode = document().mode(); const_cast<DOM::Document&>(document()).set_quirks_mode(DOM::QuirksMode::Yes); |