This doesn't need anything from Layout::BlockContainer, so let's not inherit from that.
@@ -11,7 +11,7 @@
namespace Web::Layout {
SVGBox::SVGBox(DOM::Document& document, SVG::SVGElement& element, NonnullRefPtr<CSS::StyleProperties> style)
- : BlockContainer(document, &element, move(style))
+ : Box(document, &element, move(style))
{
}
@@ -12,7 +12,7 @@
-class SVGBox : public BlockContainer {
+class SVGBox : public Box {
public:
SVGBox(DOM::Document&, SVG::SVGElement&, NonnullRefPtr<CSS::StyleProperties>);
virtual ~SVGBox() override = default;