W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: Fully transparent text and text-shadow

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 6 Oct 2008 15:47:28 -0700
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: David Hyatt <hyatt@apple.com>, "www-style@w3.org List" <www-style@w3.org>
Message-ID: <20081006224728.GA24606@pickering.dbaron.org>

On Tuesday 2008-10-07 11:24 +1300, Robert O'Callahan wrote:
> On Tue, Oct 7, 2008 at 7:58 AM, David Hyatt <hyatt@apple.com> wrote:
> 
> >
> > Should fully transparent text still cast a shadow via text-shadow?
> >  Firefox's implementation does... WebKit's does not.  We can make this work
> > either way in WebKit, but it would be good for this to be explicitly
> > specified.
> >
> 
> I think that's just a bug that we'll be fixing shortly.

Why add extra rules to the spec and extra code to create a
discontinuity?  The color of the text doesn't normally have any
influence on the color of its shadows.

Or if text is rgba(0, 0, 0, 0.01), should we be multiplying that
alpha component into the specified shadow colors as well?

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 6 October 2008 22:48:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT