|
@@ -8,6 +8,7 @@
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
|
#include <LibWeb/CSS/Parser/Parser.h>
|
|
#include <LibWeb/CSS/Parser/Parser.h>
|
|
#include <LibWeb/Layout/BlockContainer.h>
|
|
#include <LibWeb/Layout/BlockContainer.h>
|
|
|
|
+#include <LibWeb/Layout/SVGForeignObjectBox.h>
|
|
#include <LibWeb/SVG/AttributeNames.h>
|
|
#include <LibWeb/SVG/AttributeNames.h>
|
|
#include <LibWeb/SVG/SVGAnimatedLength.h>
|
|
#include <LibWeb/SVG/SVGAnimatedLength.h>
|
|
#include <LibWeb/SVG/SVGForeignObjectElement.h>
|
|
#include <LibWeb/SVG/SVGForeignObjectElement.h>
|
|
@@ -47,7 +48,7 @@ void SVGForeignObjectElement::visit_edges(Cell::Visitor& visitor)
|
|
|
|
|
|
JS::GCPtr<Layout::Node> SVGForeignObjectElement::create_layout_node(NonnullRefPtr<CSS::StyleProperties> style)
|
|
JS::GCPtr<Layout::Node> SVGForeignObjectElement::create_layout_node(NonnullRefPtr<CSS::StyleProperties> style)
|
|
{
|
|
{
|
|
- return heap().allocate_without_realm<Layout::BlockContainer>(document(), this, move(style));
|
|
|
|
|
|
+ return heap().allocate_without_realm<Layout::SVGForeignObjectBox>(document(), *this, move(style));
|
|
}
|
|
}
|
|
|
|
|
|
void SVGForeignObjectElement::apply_presentational_hints(CSS::StyleProperties& style) const
|
|
void SVGForeignObjectElement::apply_presentational_hints(CSS::StyleProperties& style) const
|