mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Include animations and transitions in the cascade
Instead of applying animations and transitions to styled elements, include them in the cascade. This allows them to interact properly with things like font-size and !important rules.
This commit is contained in:
parent
8b56b7a3c2
commit
364235ac0c
17 changed files with 314 additions and 216 deletions
|
@ -613,6 +613,7 @@ where
|
|||
&new_styles.primary,
|
||||
Some(&mut target),
|
||||
traversal_data.current_dom_depth,
|
||||
&context.shared,
|
||||
);
|
||||
|
||||
new_styles
|
||||
|
@ -669,6 +670,7 @@ where
|
|||
&new_styles.primary,
|
||||
None,
|
||||
traversal_data.current_dom_depth,
|
||||
&context.shared,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue