W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2013

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

From: Rik Cabanier <cabanier@gmail.com>
Date: Mon, 29 Jul 2013 12:49:23 -0700
Message-ID: <CAGN7qDBXpe8KuZuODzWRc7qnTxF8zU9e2VPG90b=P1+Rxu8zGQ@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: "public-fx@w3.org" <public-fx@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:46 UTC