mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: Update has_current_styles_for_this_traversal to not look at animation hints in non-animation traversals.
MozReview-Commit-ID: 4bwwIGcoXqA
This commit is contained in:
parent
9d21f9e6ce
commit
f2fe3facf3
2 changed files with 1 additions and 8 deletions
|
@ -492,7 +492,7 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
|
|||
return false;
|
||||
}
|
||||
|
||||
data.has_styles() && !data.has_invalidations()
|
||||
data.has_styles() && !data.restyle.hint.has_non_animation_hint()
|
||||
}
|
||||
|
||||
/// Flags an element and its ancestors with a given `DescendantsBit`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue