From 67de1131b9010ffbb2c292e5da772ee11a5f378d Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 11 Jul 2022 12:26:53 +0200 Subject: [PATCH] LibWeb: Match WebKit and Blink re: absence of width/height on --- .../Libraries/LibWeb/SVG/SVGSVGElement.cpp | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp index 2980cdceb1..ebd0e709f4 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp @@ -1,5 +1,6 @@ /* * Copyright (c) 2020, Matthew Olsson + * Copyright (c) 2022, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ @@ -28,17 +29,24 @@ RefPtr SVGSVGElement::create_layout_node(NonnullRefPtr