Preserve restyle hints other than animation hints in propagate() during animation-only restyle.

This commit is contained in:
Hiroyuki Ikezoe 2017-04-13 11:57:52 +09:00
parent 9d5dde2604
commit 69efaa09c9
2 changed files with 13 additions and 7 deletions

View file

@ -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() ||