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

Re: [css3-background] Default shadow color

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 3 Mar 2011 16:31:15 -0800
Message-ID: <AANLkTimda5Hi52Dre-8UNzwjh=ZH0UQarBpGeCgAmZsJ@mail.gmail.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Thu, Mar 3, 2011 at 4:25 PM, Sylvain Galineau <sylvaing@microsoft.com> wrote:
> [fantasai:]
>> Ok, if we have interop on currentColor, we can update the spec that way.
>> I'm kindof surprised, because if you do that for text-shadows, it's really
>> almost never the right color.
>
> For text-shadow, I can understand how it's a weird default but that is also
> the interop behavior today. There might be a better default - would something
> half way between foreground and background colors work better ? - but the
> interop and <shadow> consistency are already there. I also expect authors to
> want to pick their shadow colors carefully so I don't think it will be a burden
> in practice. It really is a testability/interop nitpick more than anything else.

I know that I've never written a text-shadow without an explicit
color, and have never seen one in the wild without a color either.
They may exist, but I believe they're very minority.  We don't really
have to worry about it.

~TJ
Received on Friday, 4 March 2011 00:32:07 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT