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:
parent
f19c92d78e
commit
8ce8697a66
11 changed files with 138 additions and 37 deletions
|
@ -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" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue