From f84abbe1f966cbfaefe1b4e251ad73b4abf35d88 Mon Sep 17 00:00:00 2001 From: MacDue Date: Thu, 20 Jul 2023 20:42:40 +0100 Subject: [PATCH] LibWeb: Add FIXME for viewBox scaling to SVGTextBox --- Userland/Libraries/LibWeb/Layout/SVGTextBox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibWeb/Layout/SVGTextBox.cpp b/Userland/Libraries/LibWeb/Layout/SVGTextBox.cpp index f4005f5f88..19553de948 100644 --- a/Userland/Libraries/LibWeb/Layout/SVGTextBox.cpp +++ b/Userland/Libraries/LibWeb/Layout/SVGTextBox.cpp @@ -25,6 +25,7 @@ CSSPixelPoint SVGTextBox::viewbox_origin() const Optional SVGTextBox::layout_transform() const { + // FIXME: Since text layout boxes are currently 0x0 it is not possible handle viewBox scaling here. auto& geometry_element = dom_node(); auto transform = geometry_element.get_transform(); auto* svg_box = geometry_element.first_ancestor_of_type();