W3C home > Mailing lists > Public > www-style@w3.org > November 2015

[transitions] reverse shortening factor with steps()

From: Estelle Weyl <estelle@weyl.org>
Date: Sun, 8 Nov 2015 19:24:00 -0800
Message-Id: <8E352C87-F887-4AD0-8E28-CE78885EB1A2@weyl.org>
To: www-style list <www-style@w3.org>
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:


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 Weyl

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:58 UTC