Implement NodeIterator's attributes

- root, whatToShow, and filter
This commit is contained in:
Jinwoo Song 2015-04-27 18:30:31 +09:00
parent df2f8d0636
commit 2701c264ab
2 changed files with 70 additions and 12 deletions

View file

@ -12,16 +12,16 @@
// Import from http://hg.mozilla.org/mozilla-central/raw-file/a5a720259d79/dom/webidl/NodeIterator.webidl
interface NodeIterator {
// [Constant]
// readonly attribute Node root;
[Constant]
readonly attribute Node root;
// [Pure]
// readonly attribute Node? referenceNode;
// [Pure]
// readonly attribute boolean pointerBeforeReferenceNode;
// [Constant]
// readonly attribute unsigned long whatToShow;
// [Constant]
// readonly attribute NodeFilter? filter;
[Constant]
readonly attribute unsigned long whatToShow;
[Constant]
readonly attribute NodeFilter? filter;
// [Throws]
// Node? nextNode();