summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/SVGBox.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-03-12 14:13:25 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-13 00:04:51 +0100
commitaa969cc591e85fe7cc8c7f88dbe2a4f291b246db (patch)
tree7814356082891d78b97bfe189b61752bf595e9f0 /Userland/Libraries/LibWeb/Layout/SVGBox.h
parente4eb6d4f1f36ed5905ee2f5e75e0fb7468fa70eb (diff)
downloadserenity-aa969cc591e85fe7cc8c7f88dbe2a4f291b246db.zip
LibWeb: Make Layout::SVGBox a BlockContainer again
This wasn't worth the headache of trying to make SVG boxes work together with BFC right now. Let's just make it a block container once again, and have its corresponding SVGPaintable inherit from PaintableWithLines. We'll have to revisit this as SVG support improves.
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/SVGBox.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/SVGBox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/SVGBox.h b/Userland/Libraries/LibWeb/Layout/SVGBox.h
index 30caf476d3..ff38f9c3bc 100644
--- a/Userland/Libraries/LibWeb/Layout/SVGBox.h
+++ b/Userland/Libraries/LibWeb/Layout/SVGBox.h
@@ -12,7 +12,7 @@
namespace Web::Layout {
-class SVGBox : public Box {
+class SVGBox : public BlockContainer {
public:
SVGBox(DOM::Document&, SVG::SVGElement&, NonnullRefPtr<CSS::StyleProperties>);
virtual ~SVGBox() override = default;