mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update NodeIterator code to apply review comments.
This commit is contained in:
parent
cb2bdf1977
commit
db25be7bf6
6 changed files with 238 additions and 206 deletions
|
@ -1364,7 +1364,7 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
|
|||
Range::new_with_doc(self)
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-document-createnodeiterator
|
||||
// https://dom.spec.whatwg.org/#dom-document-createnodeiteratorroot-whattoshow-filter
|
||||
fn CreateNodeIterator(self, root: JSRef<Node>, whatToShow: u32, filter: Option<NodeFilter>)
|
||||
-> Temporary<NodeIterator> {
|
||||
NodeIterator::new(self, root, whatToShow, filter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue