mirror of
https://github.com/servo/servo.git
synced 2025-08-26 07:38:21 +01:00
Use CustomIdent for animation-name and @keyframes
This commit is contained in:
parent
4993a80074
commit
d9c2d1a9fb
8 changed files with 35 additions and 43 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue