mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
Fix ParentNode missing attributes
ParentNode.children is [SameObject], querySelectorAll() is [NewObject].
This commit is contained in:
parent
a33e5f9179
commit
42254bac7e
1 changed files with 2 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
[NoInterfaceObject]
|
||||
interface ParentNode {
|
||||
[Constant]
|
||||
[SameObject]
|
||||
readonly attribute HTMLCollection children;
|
||||
[Pure]
|
||||
readonly attribute Element? firstElementChild;
|
||||
|
@ -28,7 +28,6 @@ interface ParentNode {
|
|||
//Elements queryAll(DOMString relativeSelectors);
|
||||
[Throws]
|
||||
Element? querySelector(DOMString selectors);
|
||||
//[NewObject]
|
||||
[Throws]
|
||||
[NewObject, Throws]
|
||||
NodeList querySelectorAll(DOMString selectors);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue