mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
merge from master
This commit is contained in:
commit
6e774ea6eb
1044 changed files with 46059 additions and 1506 deletions
|
@ -165,7 +165,7 @@ impl HTMLCollection {
|
|||
|
||||
pub fn elements_iter(&self) -> HTMLCollectionElementsIter {
|
||||
let ref filter = self.collection.1;
|
||||
let root = self.collection.0.root();
|
||||
let root = Root::from_ref(&*self.collection.0);
|
||||
let mut node_iter = root.traverse_preorder();
|
||||
let _ = node_iter.next(); // skip the root node
|
||||
HTMLCollectionElementsIter {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue