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:
Martin Robinson 2020-05-20 15:44:17 +02:00
parent 8b56b7a3c2
commit 364235ac0c
17 changed files with 314 additions and 216 deletions

View file

@ -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,
);
}