W3C home > Mailing lists > Public > www-style@w3.org > July 2010

Re: [css3-transitions] transitioning a shorthand

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 5 Jul 2010 10:19:51 -0700
To: Simon Fraser <smfr@me.com>
Cc: Anne van Kesteren <annevk@opera.com>, www-style@w3.org
Message-ID: <20100705171951.GA26691@pickering.dbaron.org>
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 GMT

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