mirror of
https://github.com/servo/servo.git
synced 2025-07-29 02:00:23 +01:00
auto merge of #2221 : hazz/servo/normalize, r=jdm
Fixes #2170 by recursively calling `normalize()` on all children that aren't text nodes.
This commit is contained in:
commit
b193767350
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