mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-18 15:32:56 +00:00
LibWeb: Stop treating all SVG elements as inline
This fixes hit testing on SVG elements, with no obvious downsides.
This commit is contained in:
parent
aba8774c9c
commit
5d2ce68f53
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue