W3C home > Mailing lists > Public > www-style@w3.org > February 2009

[css3-transitions] Simplification

From: Bert Bos <bert@w3.org>
Date: Thu, 19 Feb 2009 11:34:51 +0100
Message-ID: <499D35CB.9060701@w3.org>
To: Www-style <www-style@w3.org>
A thought that I suspect has a flaw, but then again, maybe not...

What uses cases would not be covered (and how bad would that be) if the 
transition property were simplified to just:

     Name:            transition
     Value:           immediate | gradual
     Initial:         immediate
     Applies to:      all elements
     Percentages:     N/A
     Media:           interactive
     Computed value:  specified value

If an element changes from one state (pseudo-class) to another and in 
the latter state the 'transition' property is 'gradual' than the style 
transition is gradual for all properties that are capable of gradual 
change (as listed in the draft). The duration of the (visual, audible or 
tactile) transition is UA dependent and so is the time-to-value mapping 
for each property (it need not be linear), but the duration should be 
less than a second.



Bert
-- 
   Bert Bos                                ( W 3 C ) http://www.w3.org/
   http://www.w3.org/people/bos                               W3C/ERCIM
   bert@w3.org                             2004 Rt des Lucioles / BP 93
   +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Thursday, 19 February 2009 10:35:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:16 GMT