mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Refactor children handling.
Moving traversal_children away from TNode I can make TNode trivial enough, in order to share a QuerySelector implementation between Servo and Gecko.
This commit is contained in:
parent
7c2265360f
commit
a11d268468
9 changed files with 149 additions and 158 deletions
|
@ -382,7 +382,7 @@ where
|
|||
let mut any_descendant = false;
|
||||
|
||||
let mut sibling_invalidations = InvalidationVector::new();
|
||||
for child in parent.children() {
|
||||
for child in parent.dom_children() {
|
||||
// TODO(emilio): We handle <xbl:children> fine, because they appear
|
||||
// in selector-matching (note bug 1374247, though).
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue