W3C home > Mailing lists > Public > www-style@w3.org > August 2012

RE: [css3-animations] animate display, other non-animatable properties

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Wed, 1 Aug 2012 19:27:13 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>, Fran├žois REMY <fremycompany_pub@yahoo.fr>
CC: Rik Cabanier <cabanier@gmail.com>, Sebastian Zartner <sebastianzartner@gmail.com>, Julien Dorra <juliendorra@juliendorra.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178291BE193B0@TK5EX14MBXC221.redmond.corp.microsoft.com>

[Tab Atkins Jr.:] 
> The fact that they currently ignore them actually means that we probably
> can't change our behavior - people may have left properties in their
> animations and are now accidentally depending on them not working.
Indeed; it's relatively easy to find books, samples and demos that use the 
shortcut of transitioning on 'all' vs. specifying the properties to animate. 
Except, of course, 'all' really means 'all the things current browsers animate'. 

Animations may be less prone to this broad issue since each keyframe rule must
specify the properties that animate but 'enabling' the animation of display may
still have unexpected consequences. 

> However, the use-case is very valid.  

> I think we should be able to solve
> this with a new timing function that works for all properties (and define
> that the others only work for "animatable" values) -
> discrete(<percentage>).  The percentage indicates at what point in the
> time it should flip from the start value to the end value.
I think that is one possible approach.
Received on Wednesday, 1 August 2012 19:28:12 UTC

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