From 7df62c64b7116842e43f2c8fcd1a7b0e71f456b7 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 26 Mar 2022 14:20:05 +0100 Subject: [PATCH] LibWeb: Treat width/height on element as HTML dimension values This might not be entirely correct, but neither was using the completely ad-hoc parse_html_length(), and this is the last user of that API so let's move off of it. --- Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp index 96d6178ce3..d0264c5ff4 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp @@ -28,14 +28,14 @@ RefPtr SVGSVGElement::create_layout_node(NonnullRefPtr