Quellcode durchsuchen

LibWeb: Stop treating all SVG elements as inline

This fixes hit testing on SVG elements, with no obvious downsides.
Sam Atkins vor 3 Jahren
Ursprung
Commit
5d2ce68f53
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
  1. 0 1
      Userland/Libraries/LibWeb/Layout/SVGBox.cpp

+ 0 - 1
Userland/Libraries/LibWeb/Layout/SVGBox.cpp

@@ -12,7 +12,6 @@ namespace Web::Layout {
 SVGBox::SVGBox(DOM::Document& document, SVG::SVGElement& element, NonnullRefPtr<CSS::StyleProperties> style)
     : BlockContainer(document, &element, move(style))
 {
-    set_inline(true);
 }
 
 void SVGBox::before_children_paint(PaintContext& context, PaintPhase phase)