mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement TreeWalker
This commit is contained in:
parent
5e5f77a354
commit
92638a6fe6
10 changed files with 603 additions and 71 deletions
|
@ -45,6 +45,12 @@ interface Document : Node {
|
|||
Event createEvent(DOMString interface_);
|
||||
|
||||
Range createRange();
|
||||
|
||||
// NodeFilter.SHOW_ALL = 0xFFFFFFFF
|
||||
// [NewObject]
|
||||
// NodeIterator createNodeIterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
|
||||
[NewObject]
|
||||
TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
|
||||
};
|
||||
|
||||
/* http://www.whatwg.org/specs/web-apps/current-work/#the-document-object */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue