Re: CSS Transitions Feedback

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