mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Implement more NodeIterator attribute and methods
Just implement the skelectons - referenceNode attribute - nextNode() and previousNode()
This commit is contained in:
parent
2701c264ab
commit
0e4c792dc5
2 changed files with 49 additions and 6 deletions
|
@ -14,8 +14,8 @@
|
|||
interface NodeIterator {
|
||||
[Constant]
|
||||
readonly attribute Node root;
|
||||
// [Pure]
|
||||
// readonly attribute Node? referenceNode;
|
||||
[Pure]
|
||||
readonly attribute Node? referenceNode;
|
||||
// [Pure]
|
||||
// readonly attribute boolean pointerBeforeReferenceNode;
|
||||
[Constant]
|
||||
|
@ -23,10 +23,10 @@ interface NodeIterator {
|
|||
[Constant]
|
||||
readonly attribute NodeFilter? filter;
|
||||
|
||||
// [Throws]
|
||||
// Node? nextNode();
|
||||
// [Throws]
|
||||
// Node? previousNode();
|
||||
[Throws]
|
||||
Node? nextNode();
|
||||
[Throws]
|
||||
Node? previousNode();
|
||||
|
||||
// void detach();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue