LibWeb: Stop treating all SVG elements as inline

This fixes hit testing on SVG elements, with no obvious downsides.
This commit is contained in:
Sam Atkins 2022-02-16 16:06:35 +00:00 committed by Andreas Kling
parent aba8774c9c
commit 5d2ce68f53

View file

@ -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)