mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +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
|
@ -4,6 +4,7 @@
|
|||
#import <DOM/Comment.idl>
|
||||
#import <DOM/DOMImplementation.idl>
|
||||
#import <DOM/DocumentFragment.idl>
|
||||
#import <DOM/DocumentOrShadowRoot.idl>
|
||||
#import <DOM/DocumentType.idl>
|
||||
#import <DOM/Element.idl>
|
||||
#import <DOM/Event.idl>
|
||||
|
@ -94,9 +95,6 @@ interface Document : Node {
|
|||
[CEReactions, NewObject] Node importNode(Node node, optional boolean deep = false);
|
||||
[CEReactions, ImplementedAs=adopt_node_binding] Node adoptNode(Node node);
|
||||
|
||||
[ImplementedAs=style_sheets_for_bindings] readonly attribute StyleSheetList styleSheets;
|
||||
attribute any adoptedStyleSheets;
|
||||
|
||||
readonly attribute DOMString compatMode;
|
||||
readonly attribute DocumentType? doctype;
|
||||
|
||||
|
@ -141,3 +139,4 @@ dictionary ElementCreationOptions {
|
|||
};
|
||||
Document includes ParentNode;
|
||||
Document includes GlobalEventHandlers;
|
||||
Document includes DocumentOrShadowRoot;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue