mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Atomize animation names.
This commit is contained in:
parent
0077eb147c
commit
5b27e46d04
4 changed files with 12 additions and 9 deletions
|
@ -235,7 +235,7 @@ pub fn maybe_start_animations<Impl: SelectorImplExt>(context: &SharedStyleContex
|
|||
}
|
||||
|
||||
// TODO: This should be factored out, too much indentation.
|
||||
if let Some(ref animation) = context.stylist.animations().get(&**name) {
|
||||
if let Some(ref animation) = context.stylist.animations().get(&name) {
|
||||
debug!("maybe_start_animations: found animation {}", name);
|
||||
had_animations = true;
|
||||
let mut last_keyframe_style = compute_style_for_animation_step(context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue