mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Skip rule node which contains only inherited properties for rule cache.
This commit is contained in:
parent
782e3fe4e4
commit
3593392788
6 changed files with 75 additions and 7 deletions
|
@ -485,6 +485,7 @@ fn compute_style_for_animation_step(context: &SharedStyleContext,
|
|||
properties::apply_declarations(context.stylist.device(),
|
||||
/* pseudo = */ None,
|
||||
previous_style.rules(),
|
||||
&context.guards,
|
||||
iter,
|
||||
Some(previous_style),
|
||||
Some(previous_style),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue