mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:22:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			496 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			496 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/Node.idl>
 | |
| #import <DOM/NodeFilter.idl>
 | |
| 
 | |
| // https://dom.spec.whatwg.org/#interface-treewalker
 | |
| [Exposed=Window]
 | |
| interface TreeWalker {
 | |
| 
 | |
|     [SameObject] readonly attribute Node root;
 | |
|     readonly attribute unsigned long whatToShow;
 | |
|     readonly attribute NodeFilter? filter;
 | |
|     attribute Node currentNode;
 | |
| 
 | |
|     Node? parentNode();
 | |
|     Node? firstChild();
 | |
|     Node? lastChild();
 | |
|     Node? previousSibling();
 | |
|     Node? nextSibling();
 | |
|     Node? previousNode();
 | |
|     Node? nextNode();
 | |
| 
 | |
| };
 | 
