mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
Propagate up the right bits of style damage
The call to propagate_up was lost in eb1b40db13
.
This commit is contained in:
parent
6679baadef
commit
c3c87e3d44
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ impl PostorderFlowTraversal for ComputeDamageTraversal {
|
|||
fn process(&mut self, flow: &mut Flow) -> bool {
|
||||
let mut damage = flow::base(flow).restyle_damage;
|
||||
for child in flow::child_iter(flow) {
|
||||
damage.union_in_place(flow::base(*child).restyle_damage)
|
||||
damage.union_in_place(flow::base(*child).restyle_damage.propagate_up())
|
||||
}
|
||||
flow::mut_base(flow).restyle_damage = damage;
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue