W3C home > Mailing lists > Public > www-style@w3.org > March 2011

Re: [css3-background] Default shadow color

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 4 Mar 2011 15:34:13 -0800
Message-Id: <DFB3A7E1-F746-41FA-B7D7-B3EED7693EED@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, Estelle Weyl <estelle@weyl.org>, Sylvain Galineau <sylvaing@microsoft.com>, "www-style@w3.org CSS" <www-style@w3.org>
To: Brian Manthos <brianman@microsoft.com>
Making it non-optional is my second choice. But that would require the enormous effort of implementors changing the value of some variable in their code. If they can do that, why not instead change the value of the constant they currently use, from "defaultColor" to something useful, like rgba(0,0,0,0.5)? Or even black. That way, if there are a few authors who wrote for a default color shadow to appear on their default text color box, they will still get a nice shadow. 

Brad Kemper

On Mar 4, 2011, at 3:11 PM, Brian Manthos <brianman@Microsoft.com> wrote:

> But people are suggesting that it be required rather than optional.
> Which gets to the root of it...
> If the currently somewhat-interoperable implementation is "bad", then we should considering just making it a required parameter if we're too soft-willed to define it.
> Leaving this UA-defined is bad for the web 2 years from now, IMO.
> - Brian
>> -----Original Message-----
>> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
>> Behalf Of fantasai
>> Sent: Friday, March 04, 2011 2:10 PM
>> To: Estelle Weyl
>> Cc: Brad Kemper; Sylvain Galineau; www-style@w3.org CSS
>> Subject: Re: [css3-background] Default shadow color
>> On 03/03/2011 07:52 PM, Estelle Weyl wrote:
>>> Yes, it is a hack,
>>> but the point i am trying to make is that it is easier to declare a
>>> drop shadow of grey for all your text than to determine what color the
>>> text is if you do want to use a drop shadow that is equivalent to
>>> currentColor..
>> Um, you just specify currentColor?
>>   text-shadow: 0 0 1px currentColor;
>> Nobody's saying this should be disallowed.
>> ~fantasai
Received on Friday, 4 March 2011 23:38:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:57 UTC