mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement shadow-including root, set node as in doc when connected. Makes JS work in shadow trees
This commit is contained in:
parent
48975840dd
commit
640fc04743
5 changed files with 44 additions and 16 deletions
|
@ -32,7 +32,7 @@ interface Node : EventTarget {
|
|||
readonly attribute Document? ownerDocument;
|
||||
|
||||
[Pure]
|
||||
Node getRootNode();
|
||||
Node getRootNode(optional GetRootNodeOptions options);
|
||||
|
||||
[Pure]
|
||||
readonly attribute Node? parentNode;
|
||||
|
@ -92,3 +92,7 @@ interface Node : EventTarget {
|
|||
[CEReactions, Throws]
|
||||
Node removeChild(Node child);
|
||||
};
|
||||
|
||||
dictionary GetRootNodeOptions {
|
||||
boolean composed = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue