Be more careful about the flags we clear for forgetful traversals.

MozReview-Commit-ID: ETDL8KsInAn
This commit is contained in:
Bobby Holley 2017-08-08 19:08:27 -07:00
parent 2a73717e56
commit 49bdb5bb4e
2 changed files with 16 additions and 7 deletions

View file

@ -603,7 +603,7 @@ where
// data here, since we won't need to perform a post-traversal to pick up
// any change hints.
if flags.contains(traversal_flags::Forgetful) {
data.clear_restyle_state();
data.clear_restyle_flags_and_damage();
}
// There are two cases when we want to clear the dity descendants bit here