Re: [css3-transitions] animation of shadows

On 23/06/2009, at 11:40 AM, L. David Baron wrote:

> http://dev.w3.org/csswg/css3-transitions/#animation-of-property-types-
> currently says:
>  # shadow: interpolated via the color, x, y and blur components
>  # (treating them as color and numbers where appropriate).
>
> However, properties with shadow values take lists of shadows.  I
> presume the intent is to be like gradients and only support
> animation when there are the same number of shadows.  If that is the
> case, I would suggest adding a sentence saying so, and also adding
> text saying that each shadow in one list is animated to the
> corresponding shadow in the other list.

I've noted this.

An alternative would be (as François suggested) to fill the lists with  
default shadows (say zero offsets and blur, transparent black). WebKit  
implemented something like this but it can often look a little weird.

Dean

Received on Sunday, 1 November 2009 21:10:22 UTC