summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Document.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Document.idl')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Document.idl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Document.idl b/Userland/Libraries/LibWeb/DOM/Document.idl
index 50b1baceef..e7b9401e85 100644
--- a/Userland/Libraries/LibWeb/DOM/Document.idl
+++ b/Userland/Libraries/LibWeb/DOM/Document.idl
@@ -7,6 +7,8 @@
#import <DOM/Event.idl>
#import <DOM/HTMLCollection.idl>
#import <DOM/Node.idl>
+#import <DOM/NodeFilter.idl>
+#import <DOM/NodeIterator.idl>
#import <DOM/NodeList.idl>
#import <DOM/Range.idl>
#import <DOM/Text.idl>
@@ -173,4 +175,6 @@ interface Document : Node {
readonly boolean hidden;
readonly DOMString visibilityState;
+ [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
+
};