mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Fix calculation of base styles to drop animation rules
It seems that changeset 97ce9ed5b0
mistakenly changed the check that a cascade level to keep is *not* an
animation level to a check that it *is* an animation level.
This commit is contained in:
parent
764da7ba39
commit
4deab0f06a
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ impl RuleTree {
|
||||||
let mut last = path;
|
let mut last = path;
|
||||||
let mut children = vec![];
|
let mut children = vec![];
|
||||||
for node in iter {
|
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()));
|
children.push((node.get().source.clone().unwrap(), node.cascade_level()));
|
||||||
}
|
}
|
||||||
last = node;
|
last = node;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue