Re: [filter-effects] initial color for drop-shadow() filter function

If you don't pass a color, it seems you should use the initial values of
feFlood [1] which is 100% opaque black.

Is the current color often used with the box-shadow property?

1: http://www.w3.org/TR/filter-effects/#feFloodElement

On Mon, Jul 29, 2013 at 12:30 PM, Dirk Schulze <dschulze@adobe.com> wrote:

> Hi,
>
> Currently drop-shadow() is defined as box-shadow but without inset[1]. It
> came up a question what this means for the color value of the drop-shadow
> if it is not defined:
>
> filter: drop-shadow(3px 3px);
>
> Apparently WebKit and Blink use transparent black as shadow color. Should
> the color value assumed to be transparent black if missing? Should it be
> another color like black? Or should it be the current value of the 'color'
> property as defined for box-shadow and text-shadow? I would prefer the
> latter.
>
> Greetings,
> Dirk
>
> [1] http://www.w3.org/TR/filter-effects/#FilterProperty
>

Received on Monday, 29 July 2013 19:49:55 UTC