mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Ensure Node.Normalize() acts on all descendants by recursively calling it on all non-text child nodes.
This commit is contained in:
parent
6d89e67194
commit
9e1f63e147
1 changed files with 2 additions and 0 deletions
|
@ -1590,6 +1590,8 @@ impl Node {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
let c = &mut child.clone();
|
||||
child.get_mut().Normalize(c);
|
||||
prev_text = None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue