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

RE: [css3-background][css3-text] text-shadow computed value

From: Brian Manthos <brianman@microsoft.com>
Date: Wed, 23 Nov 2011 01:38:07 +0000
To: Lea Verou <leaverou@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17044FDC6A@TK5EX14MBXC264.redmond.corp.microsoft.com>
Aye.  Shouldn't there be a note in the ED calling this out as an open issue?

-Brian

From: Lea Verou [mailto:leaverou@gmail.com]
Sent: Tuesday, November 22, 2011 5:28 PM
To: Brian Manthos
Cc: www-style@w3.org
Subject: Re: [css3-background][css3-text] text-shadow computed value

On 22/11/11 11:58, Brian Manthos wrote:
http://www.w3.org/TR/css3-background/#the-box-shadow
# <shadow> = inset? && [ <length>{2,4} && <color>? ]

http://www.w3.org/TR/css3-text/#text-shadow
# Computed value: a color plus three absolute <length>s


So the 4th length is omitted from the computed value of text-shadow?

I think it has been mentioned previously in the list that text-shadow was spec'ed before spread radius was added in box-shadow. Thus, the text-shadow definition
assumes 3 lengths, even though it doesn't explicitly restrict text-shadow to 3 lengths. So, technically, a spread radius should be allowed but the way it should work is not specified anywhere (there was a recent discussion about spread radius in text-shadow: http://lists.w3.org/Archives/Public/www-style/2011Feb/0796.html ).
The only UA currently implementing a spread radius in text-shadow is Trident.
My point is that the issue you are pointing out with the text-shadow definition is actually part of a much bigger one.



--

Lea Verou (http://lea.verou.me | @LeaVerou)
Received on Wednesday, 23 November 2011 01:39:22 GMT

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