mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Be more careful about the flags we clear for forgetful traversals.
MozReview-Commit-ID: ETDL8KsInAn
This commit is contained in:
parent
2a73717e56
commit
49bdb5bb4e
2 changed files with 16 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue