1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

LibWeb: Allow to set a root mode value when constructing a ShadowRoot

This commit is contained in:
Karol Kosek 2023-01-28 20:36:58 +01:00 committed by Andreas Kling
parent 01e2cc5330
commit 9ed4fe7049
3 changed files with 4 additions and 3 deletions

View file

@ -30,7 +30,7 @@ public:
WebIDL::ExceptionOr<void> set_inner_html(DeprecatedString const&);
private:
ShadowRoot(Document&, Element&);
ShadowRoot(Document&, Element& host, Bindings::ShadowRootMode);
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
// ^Node