From 4ad12f3cb214c3072640cd555e65a97ed1fed6ef Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 4 May 2023 13:50:21 +0200 Subject: [PATCH] LibWeb: Honor fill, stroke and stroke-width attribute on SVGSVGElement These are presentational hints and are handled by SVGGraphicsElement (a superclass of SVGSVGElement) so we just need to call up to it. :^) --- Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 SVGSVGElement::create_layout_node(NonnullRefPtr auto previous_quirks_mode = document().mode(); const_cast(document()).set_quirks_mode(DOM::QuirksMode::Yes);