mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Preserve restyle hints other than animation hints in propagate() during animation-only restyle.
This commit is contained in:
parent
9d5dde2604
commit
69efaa09c9
2 changed files with 13 additions and 7 deletions
|
@ -601,7 +601,7 @@ pub fn recalc_style_at<E, D>(traversal: &D,
|
|||
"animation restyle hint should be handled during \
|
||||
animation-only restyles");
|
||||
r.recascade = false;
|
||||
r.hint.propagate()
|
||||
r.hint.propagate(&context.shared.traversal_flags)
|
||||
},
|
||||
};
|
||||
debug_assert!(data.has_current_styles() ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue