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
105281
animation-fill-mode doesn’t respect animation-direction
https://bugs.webkit.org/show_bug.cgi?id=105281
Summary
animation-fill-mode doesn’t respect animation-direction
Lea Verou
Reported
2012-12-18 05:10:13 PST
Quoting the spec [1]:
> If the value for ‘animation-fill-mode’ is ‘backwards’, then the animation will apply the property values defined in the keyframe that will start the first iteration of the animation, during the period defined by ‘animation-delay’. These are either the values of the ‘from’ keyframe (when ‘animation-direction’ is ‘normal’ or ‘alternate’) or those of the ‘to’ keyframe (when ‘animation-direction’ is ‘reverse’ or ‘alternate-reverse’).
> If the value for ‘animation-fill-mode’ is ‘forwards’, then after the animation ends (as determined by its ‘animation-iteration-count’), the animation will apply the property values for the time the animation ended. When ‘animation-iteration-count’ is an integer greater than zero, the values applied will be those for the end of the last completed iteration of the animation (rather than the values for the start of the iteration that would be next). When ‘animation-iteration-count’ is zero, the values applied will be those that would start the first iteration (just as when ‘animation-fill-mode’ is ‘backwards’).
Therefore the attached testcase should be green, not red, since `animation-direction` is `reverse`. It’s green in every other tested browser that supports CSS animations. [1]:
http://dev.w3.org/csswg/css3-animations/#animation-fill-mode-property
Attachments
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-07-13 11:59:46 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
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