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

[CSS21][12.2 The 'content' property] computed value on :first-line and :first-letter

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Wed, 30 Nov 2011 18:15:38 +0100
Message-ID: <4ED664BA.80400@kozea.fr>
To: www-style@w3.org
Hi,

In CSS 2.1, the computed value of the 'content' property is defined as:

"""
On elements, always computes to 'normal'. On :before and :after, if 
'normal' is specified, computes to 'none'. Otherwise, for URI values, 
the absolute URI; for attr() values, the resulting string; for other 
keywords, as specified.
"""

The computed value on other pseudo-elements (ie. :first-line and 
:first-letter) is not defined. I suggest changing the first sentence to:

"""
On elements, :first-line or :first-letter, always computes to 'normal'.
"""

At least in CSS 2.1, properties can only be applied to elements or 
pseudo-elements; and only these four pseudo-elements exist. So this 
should covers all cases.

Regards,
-- 
Simon Sapin
Received on Wednesday, 30 November 2011 17:16:26 GMT

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