Re: [css3-transitions] transitioning a shorthand

On Jul 6, 2010, at 10:33 PM, Tab Atkins Jr. wrote:

> On Mon, Jul 5, 2010 at 9:14 AM, Simon Fraser <smfr@me.com> wrote:
>> Note that the spec currently says:
>> 
>> "a shorthand property: If all the parts of a shorthand can be animated, then interpolation is performed as if each property was individually specified."
>> 
>> but I don't think this is correct.
>> 
>> The way WebKit implements this is if *any* part of a shorthand can be animated then it will be, and this works both ways.
> 
> I thought we were making all properties animateable, so that
> properties that didn't have special animating behavior just
> floor/ceiling'd their transition function (I forget which way we
> decided right now).
> 
> In that case, the distinction is irrelevant, and in fact the line
> itself is no longer needed.

I think that's orthogonal to this question. The issue with shorthands, I think, is whether the author expects individual properties to animate when shorthands are used in transition-property, and when the individual properties as changed via shorthand rules.

Simon

Received on Wednesday, 7 July 2010 05:57:13 UTC