mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +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
Notes:
sideshowbarker
2024-07-17 18:41:48 +09:00
Author: https://github.com/AtkinsSJ
Commit: 5d2ce68f53
Pull-request: https://github.com/SerenityOS/serenity/pull/12578
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)
|
||||
: BlockContainer(document, &element, move(style))
|
||||
{
|
||||
set_inline(true);
|
||||
}
|
||||
|
||||
void SVGBox::before_children_paint(PaintContext& context, PaintPhase phase)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue