1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:37:36 +00:00

LibWeb: Actually initialize ShadowRoot bindings

`mode` and `host` attributes were always undefined.
This commit is contained in:
Karol Kosek 2023-01-28 20:26:01 +01:00 committed by Andreas Kling
parent d4cb089acb
commit 34913c48d3
2 changed files with 8 additions and 0 deletions

View file

@ -33,6 +33,7 @@ public:
private:
ShadowRoot(Document&, Element&);
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
// ^Node
virtual DeprecatedFlyString node_name() const override { return "#shadow-root"; }