W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: CSS Transitions Feedback

From: David Hyatt <hyatt@apple.com>
Date: Wed, 14 Jan 2009 13:53:19 -0600
Cc: Dean Jackson <dino@apple.com>, Lachlan Hunt <lachlan.hunt@lachy.id.au>, www-style@w3.org, Rune Lillesveen <rune@opera.com>
Message-id: <588E5086-15BE-4E12-88C4-B14BFDAB48BF@apple.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

I would also expect to see a transition here.

On Jan 14, 2009, at 1:51 PM, Tab Atkins Jr. wrote:

> On Wed, Jan 14, 2009 at 12:12 PM, Dean Jackson <dino@apple.com> wrote:
>> Just to make sure we are all thinking the same thing. In the  
>> following
>> example:
>> transition-property: border;
>> transition-duration: 1s;
>> If I now apply a style rule "border-top-width: 2px", do you expect  
>> to see a
>> transition?
> I would expect to see a transition.
> An alternate reasonable proposal would be that I would *not* see a
> transition, as only changes made explicitly to the "border" property
> will trigger.  This requires the author to be more explicit, but would
> at least be sensible.  I don't see any particular reason to do this
> over the general "yes, you'll see a transition" proposal, though, and
> since the "yes" answer is much simpler for authors, I prefer it.
> The proposal that I am completely against is the one where shorthand
> properties are automatically expanded in the transition-property list,
> and then matched against the (unchanged) transition-duration list.
> (In particular, would that make *any* sense in the case of plain
> 'border'?  Is there a canonical ordering of the non-shorthand
> properties that make it up?)
> ~TJ
Received on Wednesday, 14 January 2009 19:54:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:23 UTC