mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
style: Fix sequential traversal.
This commit is contained in:
parent
ef0f728f1e
commit
67ac81f440
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ pub fn traverse_dom<N, C>(root: N,
|
|||
|
||||
for kid in node.children() {
|
||||
context.pre_process_child_hook(node, kid);
|
||||
if context.should_process(node) {
|
||||
if context.should_process(kid) {
|
||||
doit::<N, C>(context, kid);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue