瀏覽代碼

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.
MacDue 2 年之前
父節點
當前提交
cf0e31ca87
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Userland/Libraries/LibWeb/Layout/SVGFormattingContext.cpp

+ 0 - 2
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)
 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<SVG::SVGSVGElement>(*box.dom_node());
     auto& svg_svg_element = verify_cast<SVG::SVGSVGElement>(*box.dom_node());
 
 
     auto svg_box_state = m_state.get(box);
     auto svg_box_state = m_state.get(box);