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

Re: [css3 transitions] margin, padding shorthand properties

From: Joergen W. Lang <joergen_lang@gmx.de>
Date: Tue, 24 Jan 2012 19:13:54 +0100
Message-ID: <4F1EF4E2.7070701@gmx.de>
To: Aryeh Gregor <ayg@aryeh.name>
CC: www-style@w3.org
Am 24.01.12 17:17, schrieb Aryeh Gregor:
> On Tue, Jan 24, 2012 at 8:44 AM, Joergen W. Lang<joergen_lang@gmx.de>  wrote:
>> Hello everyone,
>>
>> http://www.w3.org/TR/css3-transitions/#animatable-properties- gives a list
>> of animatable CSS properties.
>>
>> According to this list it is possible to animate the border-color and
>> border-width shorthand properties but not margin and padding.
>
> Don't refer to stuff in TR/ -- look at dev.w3.org for the latest version:
>
> http://dev.w3.org/csswg/css3-transitions/#properties-from-css-
>
> border-color and border-width now have the annotation "This is a
> shorthand, so probably shouldn't be here."  So I think you're right --
> it's an inconsistency in the list.

As an author I would intuitively expect that list to contain those 
properties - shorthand or not - that could be used as a value for 
'transition-property'.

I would like to propose that shorthand properties be included in that 
list. The 'Value' column could refer to the respective values of the 
single properties, e.g.:

Property Name  |  Value
------------------------------------------
margin         |  see individual properties
margin-top     |  percentage, length
margin-right   |  percentage, length

...and so on...

Otherwise it might be helpful to mention that the list refers only to 
single properties but that it is also possible to use shorthand notation 
as a value for transition-property.


Jørgen W. Lang
Received on Tuesday, 24 January 2012 18:14:39 GMT

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