W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

Re: [csswg-drafts] [css-animations-2] frames() as a more intuitive steps()

From: Dr. Thomas via GitHub <sysbot+gh@w3.org>
Date: Sun, 07 Aug 2016 08:07:34 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-238069715-1470557252-sysbot+gh@w3.org>
> If you do want to see both the starting and ending values, and have 
a stepped transition between them, you need to do some math and 
overshoot the desired end-point instead. 

I do not agree with this. In the case of animating a sprite-sheet with
 finite iterations (background-position) it is impossible to overshoot
 due to the limitations of the underlying background-image. I think 
that possible parametrizations to animate all frames correctly with 
fill-mode forwards only exist for 1 and infinite iterations. Run the 
example here: 
http://stackoverflow.com/questions/38809527/css-spritesheet-animation-fill-mode-forwards-with-steps-ends-on-wrong-position

Should this be a separate issue?
I think this is not an issue of intuitiveness. It appears to be 
uncharted territory in the specs, if not a specs-bug. 
Is there a link to a draft for the proposed frames() timing-function?



-- 
GitHub Notification of comment by katzlbt
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/136#issuecomment-238069715 
using your GitHub account
Received on Sunday, 7 August 2016 08:07:46 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC