mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibWeb: Correct initialization order for SVGFE*Element
We should first set the prototype before initializing our base, otherwise e.g. attributes will simply not work.
This commit is contained in:
parent
1a0d4487a8
commit
ffcf91cd30
Notes:
github-actions[bot]
2025-07-11 10:27:24 +00:00
Author: https://github.com/gmta
Commit: ffcf91cd30
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5389
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 3 additions and 3 deletions
|
@ -21,8 +21,8 @@ SVGFEBlendElement::SVGFEBlendElement(DOM::Document& document, DOM::QualifiedName
|
|||
|
||||
void SVGFEBlendElement::initialize(JS::Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
WEB_SET_PROTOTYPE_FOR_INTERFACE(SVGFEBlendElement);
|
||||
Base::initialize(realm);
|
||||
}
|
||||
|
||||
void SVGFEBlendElement::visit_edges(Cell::Visitor& visitor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue