Skip to content

Commit

Permalink
Fix calculation of base styles to drop animation rules
Browse files Browse the repository at this point in the history
It seems that changeset 97ce9ed
mistakenly changed the check that a cascade level to keep is *not* an
animation level to a check that it *is* an animation level.
  • Loading branch information
birtles committed May 26, 2017
1 parent 764da7b commit 4deab0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/rule_tree/mod.rs
Expand Up @@ -369,7 +369,7 @@ impl RuleTree {
let mut last = path;
let mut children = vec![];
for node in iter {
if node.cascade_level().is_animation() {
if !node.cascade_level().is_animation() {
children.push((node.get().source.clone().unwrap(), node.cascade_level()));
}
last = node;
Expand Down

0 comments on commit 4deab0f

Please sign in to comment.