From cf0e31ca875a0dbdeec15eb166a921b9f5bcb047 Mon Sep 17 00:00:00 2001 From: MacDue Date: Tue, 2 May 2023 22:36:27 +0100 Subject: [PATCH] LibWeb: Remove general SVGFormattingContext FIXME Since this FIXME was added the SVGFormattingContext has got a fair bit more spec compliant. The other more specific FIXMEs in this file should be more useful. --- Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp index 90f2361643..80470811ba 100644 --- a/Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp @@ -131,8 +131,6 @@ static ViewBoxTransform scale_and_align_viewbox_content(SVG::PreserveAspectRatio void SVGFormattingContext::run(Box const& box, LayoutMode layout_mode, AvailableSpace const& available_space) { - // FIXME: This a bunch of this thing is an ad-hoc hack. - auto& svg_svg_element = verify_cast(*box.dom_node()); auto svg_box_state = m_state.get(box);