mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Move TraversalFlags into SharedStyleContext.
This commit is contained in:
parent
5fa9a56247
commit
2bbeb21551
5 changed files with 19 additions and 19 deletions
|
@ -1038,7 +1038,7 @@ pub trait MatchMethods : TElement {
|
|||
// in the name of animation-only traversal. Rest of restyle hints
|
||||
// will be processed in a subsequent normal traversal.
|
||||
if hint.contains(RESTYLE_CSS_ANIMATIONS) {
|
||||
debug_assert!(context.shared.animation_only_restyle);
|
||||
debug_assert!(context.shared.traversal_flags.for_animation_only());
|
||||
|
||||
let animation_rule = self.get_animation_rule(None);
|
||||
replace_rule_node(CascadeLevel::Animations,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue