WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
155870
Weird behavior of animation shorthand in this testcase
https://bugs.webkit.org/show_bug.cgi?id=155870
Summary
Weird behavior of animation shorthand in this testcase
Simon Fraser (smfr)
Reported
2016-03-24 22:17:10 PDT
Created
attachment 274883
[details]
Testcase If you drop the attached testcase into LayoutTests/animations, then run it in the browser, the box only animates once, despite the shorthand “animation: move 1s 3 linear” having iteration-count 3. And the web inspector shows that we parsed the interation count as animation-delay: 0.003s; So something weird is up with parsing the shorthand here. Oddly it doesn’t reproduce without the js-pre/js-post stuff.
Attachments
Testcase
(1.13 KB, text/html)
2016-03-24 22:17 PDT
,
Simon Fraser (smfr)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2016-03-24 22:17:23 PDT
rdar://problem/25354121
Simon Fraser (smfr)
Comment 2
2016-03-24 22:54:38 PDT
Ugh. This is because the testcase was in quirks mode, in which case we can parse unitless time values as a time in ms. No other UA does this for non-zero values.
Antoine Quint
Comment 3
2023-05-10 02:04:52 PDT
I dropped the attached test case in LayoutTests/animations, modified it to have `animation: move 1s 3 linear` and ran it in both Safari 16 and Firefox. In both cases, I got 3 iterations. This appears to have been fixed at some point in the last 7 years.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug