mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Generate correct bindings for callback interfaces: only create an interface object when the interface declares constants, and set up the prototype correctly. This also lets us tidy up some IDL for these callback interfaces.
19 lines
469 B
Plaintext
19 lines
469 B
Plaintext
#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;
|
|
|
|
readonly attribute NodeFilter? filter;
|
|
|
|
Node? nextNode();
|
|
Node? previousNode();
|
|
|
|
undefined detach();
|
|
};
|