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

[css3 transitions] margin, padding shorthand properties

From: Joergen W. Lang <joergen_lang@gmx.de>
Date: Tue, 24 Jan 2012 14:44:13 +0100
Message-ID: <4F1EB5AD.3060103@gmx.de>
To: www-style@w3.org
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.

Nevertheless the prose preceding that list says:

"The following describes how each property type undergoes transition or 
animation.

[...]

a shorthand property: If all the parts of a shorthand can be animated, 
then interpolation is performed as if each property was individually 
specified."

Is this an inconsistency in the list or a misunderstanding on my side?

Jørgen W. Lang
Received on Tuesday, 24 January 2012 13:44:45 GMT

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