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

Re: [css3-transitions] How mismatched transition-* value lengths are resolved

From: Chris Marrin <cmarrin@apple.com>
Date: Wed, 27 Oct 2010 13:20:02 -0700
Cc: Simon Fraser <smfr@me.com>, Sylvain Galineau <sylvaing@microsoft.com>, www-style list <www-style@w3.org>, "L. David Baron" <dbaron@dbaron.org>
Message-id: <93E865B9-62FF-4211-9F97-1BD53B1AEE47@apple.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On Oct 25, 2010, at 2:24 PM, Tab Atkins Jr. wrote:

> On Mon, Oct 25, 2010 at 2:19 PM, Simon Fraser <smfr@me.com> wrote:
>> On Oct 22, 2010, at 4:28 PM, Sylvain Galineau wrote:
>>> Given that duplicate properties are handled on
>>> a last-one-wins basis, repeating the transition-property list itself seems
>>> less
>>> desirable and more prone to causing unwelcome surprises.
>> 
>> I'm not sure what you mean by "repeating the transition-property list
>> itself".
> 
> He means, given CSS like "transition-property: color,
> background-color; transition-duration: 1s 2s 3s;", cycling
> transition-property to match the length of the duration list,
> obtaining a result identical to "transition-property: color,
> background-color, color; transition-duration: 1s 2s 3s;".

I agree that we should not repeat transition-property. But in your example above I assume you mean to have commas between each time value?

-----
~Chris
cmarrin@apple.com
Received on Wednesday, 27 October 2010 20:20:35 GMT

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