[transitions] reverse shortening factor with steps()

I was looking at ste tiing functions for transitions that don’t finish.

I don’t know why anyone would transition a sprite,  but i a seeing weird stuff in the shortened reversed timing:

   htt//codeen.io/estelle/en/VvEBB

I would expect if there were 25 steps in the initial transition, and only 10 steps occur before the transition reverses direction (the tranisiton doesn’t finish) that in the reverse direction, there would only be 10 steps. Right now the duration is the duration of 10 steps in the reverse, but the number of steps is the full count, not the number that had successfully completed.

 transition: 25s steps(25, end);


If you mouse off half way between the 10th and 11th steps, the reverse will last the duration of 10 steps, (not 10 plus some) in FF, which supports the reversing shortening factor (safari and chrome do not. I haven’t tested Edge or opera yet).

I am writing wondering if there is a bug in the specification or implementation of the reverse shortening factor when it comes to step timing functions.

-Estelle 

Estelle Weyl
estelle@weyl.org
http://www.standardista.com

Received on Monday, 9 November 2015 03:24:45 UTC