mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 06:17:35 +00:00
LibWeb: Add SVGURIReference
This commit is contained in:
parent
55646893d8
commit
968bec9844
4 changed files with 65 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue