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

Re: updating lists of properties that must apply to :first-letter and :first-line [selectors][css3-background][css3-text]

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 29 Dec 2008 11:32:31 -0800
Message-ID: <495925CF.7020307@inkedblade.net>
To: "L. David Baron" <dbaron@dbaron.org>
CC: www-style@w3.org

L. David Baron wrote:
> 
> However, there are a few additional properties that I think should
> be defined to apply:
> 
>   'text-shadow' should apply to both :first-line and :first-letter,
>   just like 'text-decoration', 'text-transform', etc.
>   http://www.w3.org/TR/css3-text/#text-shadow
> 
>   'box-shadow' should apply to ::first-letter, just like the border
>   properties
>   http://www.w3.org/TR/css3-background/#the-box-shadow
> 
> I tend to think that they should apply ought to be noted, for now,
> in the specs that introduce them.

Added to definition of 'box-shadow':
   | The ''box-shadow'' property applies to the ''::first-letter''
   | pseudo-element, but not the ''::first-line'' pseudo-element.
   | Outer shadows have no effect on internal table elements in the
   | collapsing border model.

Added to definition of 'text-shadow':
   | The text-shadow property applies to both the ::first-line and
   | ::first-letter pseudo-elements.

Let me know if this addresses your comments on css3-background and
css3-text.

~fantasai
Received on Monday, 29 December 2008 23:28:45 GMT

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