mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:47:46 +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
8
Userland/Libraries/LibWeb/DOM/DocumentOrShadowRoot.idl
Normal file
8
Userland/Libraries/LibWeb/DOM/DocumentOrShadowRoot.idl
Normal file
|
@ -0,0 +1,8 @@
|
|||
#import <CSS/StyleSheetList.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#documentorshadowroot
|
||||
interface mixin DocumentOrShadowRoot {
|
||||
// https://w3c.github.io/csswg-drafts/cssom/#extensions-to-the-document-or-shadow-root-interface
|
||||
[SameObject, ImplementedAs=style_sheets_for_bindings] readonly attribute StyleSheetList styleSheets;
|
||||
attribute any adoptedStyleSheets;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue