mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
LibWeb: Actually initialize ShadowRoot bindings
`mode` and `host` attributes were always undefined.
This commit is contained in:
parent
d4cb089acb
commit
34913c48d3
Notes:
sideshowbarker
2024-07-17 00:53:39 +09:00
Author: https://github.com/krkk
Commit: 34913c48d3
Pull-request: https://github.com/SerenityOS/serenity/pull/17225
2 changed files with 8 additions and 0 deletions
|
@ -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"; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue