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

LibWeb: Add styleSheets and adoptedStyleSheets attributes in ShadowRoot

Co-authored-by: Simon Wanner <simon+git@skyrising.xyz>
This commit is contained in:
Aliaksandr Kalenik 2024-03-08 19:27:24 +01:00 committed by Andreas Kling
parent f19c92d78e
commit 8ce8697a66
11 changed files with 138 additions and 37 deletions

View file

@ -1,4 +1,5 @@
#import <DOM/DocumentFragment.idl>
#import <DOM/DocumentOrShadowRoot.idl>
#import <DOM/InnerHTML.idl>
// https://dom.spec.whatwg.org/#shadowroot
@ -12,6 +13,7 @@ interface ShadowRoot : DocumentFragment {
};
ShadowRoot includes InnerHTML;
ShadowRoot includes DocumentOrShadowRoot;
enum ShadowRootMode { "open", "closed" };
enum SlotAssignmentMode { "manual", "named" };