Implement more NodeIterator attribute and methods

Just implement the skelectons
 - referenceNode attribute
 - nextNode() and previousNode()
This commit is contained in:
Jinwoo Song 2015-04-28 20:34:04 +09:00
parent 2701c264ab
commit 0e4c792dc5
2 changed files with 49 additions and 6 deletions

View file

@ -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();
};