Re: [css3-transitions] transitioning a shorthand

On Monday 2010-07-05 09:14 -0700, Simon Fraser wrote:
> The way WebKit implements this is if *any* part of a shorthand can
> be animated then it will be, and this works both ways. If the
> transition property itself specifies a shorthand, then we animate
> all individual animatable properties included in that shorthand.
> If the transition property specifies an individual property, and
> that property is changed via shorthand property rules, then we
> also animate that.

That matches what I implemented in Gecko.  See also:
http://lists.w3.org/Archives/Public/www-style/2009Dec/0309.html
(which points out that there's text in two different parts of the
spec about animating shorthands).

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Monday, 5 July 2010 17:20:35 UTC