mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Revert "Auto merge of #15793 - upsuper:animation, r=emilio,bholley"
This reverts commit7cd4c69c40
, reversing changes made to1b1fadb8b8
.
This commit is contained in:
parent
c32181c6db
commit
3a56899201
7 changed files with 97 additions and 99 deletions
|
@ -398,9 +398,7 @@ impl<E: TElement> StyleSharingCandidateCache<E> {
|
|||
return;
|
||||
}
|
||||
|
||||
let animation_count = box_style.animation_name_count();
|
||||
debug_assert!(animation_count > 0);
|
||||
if animation_count > 1 || box_style.animation_name_at(0).0 != atom!("") {
|
||||
if box_style.animation_name_count() > 0 {
|
||||
debug!("Failing to insert to the cache: animations");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue