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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 28 Oct 2010 02:07:22 -0700
Message-ID: <AANLkTimSDWXPqA94u=qa-XZVC71FpfeKgpvG-GBm-zfD@mail.gmail.com>
To: Chris Marrin <cmarrin@apple.com>
Cc: Simon Fraser <smfr@me.com>, Sylvain Galineau <sylvaing@microsoft.com>, www-style list <www-style@w3.org>, "L. David Baron" <dbaron@dbaron.org>
On Wed, Oct 27, 2010 at 1:20 PM, Chris Marrin <cmarrin@apple.com> wrote:
>
> 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?

...

Yes.

~TJ
Received on Thursday, 28 October 2010 09:08:13 GMT

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