Use CustomIdent for animation-name and @keyframes

This commit is contained in:
Simon Sapin 2017-04-14 05:26:51 +02:00
parent 4993a80074
commit d9c2d1a9fb
8 changed files with 35 additions and 43 deletions

View file

@ -1617,7 +1617,7 @@ pub mod style_structs {
/// Returns whether there is any animation specified with
/// animation-name other than `none`.
pub fn specifies_animations(&self) -> bool {
self.animation_name_iter().any(|name| name.0 != atom!(""))
self.animation_name_iter().any(|name| name.0 .0 != atom!(""))
}
/// Returns whether there are any transitions specified.