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

Re: [css3-transitions] transitioning a shorthand

From: Simon Fraser <smfr@me.com>
Date: Tue, 06 Jul 2010 22:56:30 -0700
Cc: Anne van Kesteren <annevk@opera.com>, www-style@w3.org
Message-id: <7DCACB9E-EE94-4A5E-B95B-FE07FBED4D99@me.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:48 UTC