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

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

From: Dirk Schulze <dschulze@adobe.com>
Date: Mon, 29 Jul 2013 12:30:40 -0700
To: "public-fx@w3.org" <public-fx@w3.org>
Message-ID: <004F0692-8626-4BA5-8615-E8578454E0DE@adobe.com>

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.


[1] http://www.w3.org/TR/filter-effects/#FilterProperty
Received on Monday, 29 July 2013 19:31:18 UTC

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