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

Re: [css3 transitions] margin, padding shorthand properties

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 24 Jan 2012 10:37:06 -0800
Message-ID: <CAAWBYDB0yfu4DqCt9m_Fs83E-vFyxOY46PzP413tbciTZyPzBw@mail.gmail.com>
To: jwl@worldmusic.de
Cc: Aryeh Gregor <ayg@aryeh.name>, www-style@w3.org
On Tue, Jan 24, 2012 at 10:13 AM, Joergen W. Lang <joergen_lang@gmx.de> wrote:
> 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.

I agree - this seems like a much friendlier way to present the list.

~TJ
Received on Tuesday, 24 January 2012 18:38:03 GMT

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