mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +00:00
19 lines
569 B
Text
19 lines
569 B
Text
#import <DOM/Node.idl>
|
|
#import <DOM/NodeFilter.idl>
|
|
|
|
// https://dom.spec.whatwg.org/#interface-nodeiterator
|
|
[Exposed=Window]
|
|
interface NodeIterator {
|
|
[SameObject] readonly attribute Node root;
|
|
readonly attribute Node referenceNode;
|
|
readonly attribute boolean pointerBeforeReferenceNode;
|
|
readonly attribute unsigned long whatToShow;
|
|
|
|
// FIXME: `object?` should be `NodeFilter?`, but we don't yet properly support callback interfaces.
|
|
readonly attribute object? filter;
|
|
|
|
Node? nextNode();
|
|
Node? previousNode();
|
|
|
|
undefined detach();
|
|
};
|