Make animation-name parse none

This commit is contained in:
Xidorn Quan 2017-03-06 22:00:04 +11:00
parent 4bc0cac395
commit 6273fa0305
6 changed files with 53 additions and 12 deletions

View file

@ -398,7 +398,7 @@ impl<E: TElement> StyleSharingCandidateCache<E> {
return;
}
if box_style.animation_name_count() > 0 {
if box_style.specifies_animations() {
debug!("Failing to insert to the cache: animations");
return;
}