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

Re: [css3-transitions] animation of shadows

From: Dean Jackson <dino@apple.com>
Date: Mon, 2 Nov 2009 08:09:38 +1100
Cc: www-style@w3.org
Message-Id: <1DDE11AE-D14C-4F1F-94F2-5446ED4E56F2@apple.com>
To: L. David Baron <dbaron@dbaron.org>

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.

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC