diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-02-16 16:06:35 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-16 21:47:53 +0100 |
commit | 5d2ce68f5363b0d3e4f797b060cbe66d947c6716 (patch) | |
tree | 26c7e01e45799950fdc1d1fe125f0c594122b4a6 /Userland | |
parent | aba8774c9c34a890f1fb421bd3766d40827cc3ae (diff) | |
download | serenity-5d2ce68f5363b0d3e4f797b060cbe66d947c6716.zip |
LibWeb: Stop treating all SVG elements as inline
This fixes hit testing on SVG elements, with no obvious downsides.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/SVGBox.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/SVGBox.cpp b/Userland/Libraries/LibWeb/Layout/SVGBox.cpp index 0bd7415a72..6e9b70f714 100644 --- a/Userland/Libraries/LibWeb/Layout/SVGBox.cpp +++ b/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) |