mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -560,7 +560,7 @@ trait PrivateMatchMethods: TElement {
|
|||
pseudo: Option<&PseudoElement>) -> bool {
|
||||
let ref new_box_style = new_values.get_box();
|
||||
let has_new_animation_style = new_box_style.animation_name_count() >= 1 &&
|
||||
new_box_style.animation_name_at(0).0.len() != 0;
|
||||
new_box_style.animation_name_at(0).0 .0.len() != 0;
|
||||
let has_animations = self.has_css_animations(pseudo);
|
||||
|
||||
old_values.as_ref().map_or(has_new_animation_style, |ref old| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue