mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +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
1 changed files with 0 additions and 1 deletions
|
@ -12,7 +12,6 @@ namespace Web::Layout {
|
||||||
SVGBox::SVGBox(DOM::Document& document, SVG::SVGElement& element, NonnullRefPtr<CSS::StyleProperties> style)
|
SVGBox::SVGBox(DOM::Document& document, SVG::SVGElement& element, NonnullRefPtr<CSS::StyleProperties> style)
|
||||||
: BlockContainer(document, &element, move(style))
|
: BlockContainer(document, &element, move(style))
|
||||||
{
|
{
|
||||||
set_inline(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SVGBox::before_children_paint(PaintContext& context, PaintPhase phase)
|
void SVGBox::before_children_paint(PaintContext& context, PaintPhase phase)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue