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

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 UTC