mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
LibWeb: Add SVGURIReference
This commit is contained in:
committed by
Andreas Kling
parent
55646893d8
commit
968bec9844
@@ -33,6 +33,12 @@ void SVGTextPathElement::initialize(JS::Realm& realm)
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::SVGTextPathElementPrototype>(realm, "SVGTextPathElement"_fly_string));
|
||||
}
|
||||
|
||||
void SVGTextPathElement::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
SVGURIReferenceMixin::visit_edges(visitor);
|
||||
}
|
||||
|
||||
JS::GCPtr<Layout::Node> SVGTextPathElement::create_layout_node(NonnullRefPtr<CSS::StyleProperties> style)
|
||||
{
|
||||
return heap().allocate_without_realm<Layout::SVGTextPathBox>(document(), *this, move(style));
|
||||
|
||||
Reference in New Issue
Block a user