summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout
diff options
context:
space:
mode:
authorK-Adam <kecskes.adam@outlook.com>2021-08-01 16:30:18 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-05 20:17:08 +0200
commit758d816b23e86cbe9f24471988e73f3c15f8c080 (patch)
treee412d580b11c652163aa67e046fad5504f4e4ac6 /Userland/Libraries/LibWeb/Layout
parenteb1578e7c8ca52d8de3222ebab16b352b670de4e (diff)
downloadserenity-758d816b23e86cbe9f24471988e73f3c15f8c080.zip
LibWeb: Clear SVG context after SVGSVGBox children are painted
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout')
-rw-r--r--Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp b/Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp
index bbbd9a6137..f53bbbbebe 100644
--- a/Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp
+++ b/Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp
@@ -37,6 +37,7 @@ void SVGSVGBox::after_children_paint(PaintContext& context, PaintPhase phase)
SVGGraphicsBox::after_children_paint(context, phase);
if (phase != PaintPhase::Foreground)
return;
+ context.clear_svg_context();
}
}