mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Implement nextNode(), previousNode() and detach() in NodeIterator
First patch to resolve #1235. We need more implementation for handling node removals, and I'll implement in next patch.
This commit is contained in:
parent
4e8005cd5b
commit
cb2bdf1977
4 changed files with 199 additions and 2289 deletions
|
@ -16,8 +16,8 @@ interface NodeIterator {
|
|||
readonly attribute Node root;
|
||||
[Pure]
|
||||
readonly attribute Node? referenceNode;
|
||||
// [Pure]
|
||||
// readonly attribute boolean pointerBeforeReferenceNode;
|
||||
[Pure]
|
||||
readonly attribute boolean pointerBeforeReferenceNode;
|
||||
[Constant]
|
||||
readonly attribute unsigned long whatToShow;
|
||||
[Constant]
|
||||
|
@ -28,5 +28,5 @@ interface NodeIterator {
|
|||
[Throws]
|
||||
Node? previousNode();
|
||||
|
||||
// void detach();
|
||||
void detach();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue