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

Re: [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:29:19 +0100
Message-ID: <4ED667EF.1020508@kozea.fr>
To: www-style@w3.org
Le 30/11/2011 18:15, Simon Sapin a écrit :
> 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.
> """

Also, replace "for other keywords, as specified" by "for other values, 
as specified": values other than URIs and attr() are not all keywords, 
they may be strings or counters.

With both changes, the new definition is:

"""
On elements, :first-line or :first-letter, 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 values, as specified.
"""

Regards,
-- 
Simon Sapin
Received on Wednesday, 30 November 2011 17:29:55 GMT

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