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

Re: CSS3 Pseudo-elements

From: John Lewis <lewi0371@mrs.umn.edu>
Date: Tue, 31 Dec 2002 22:45:07 -0600
Message-ID: <98384302895.20021231224507@cda.mrs.umn.edu>
To: www-style@w3.org

Etan wrote on Tuesday, December 31, 2002 at 1:59:40 PM:

> Michael Day wrote to <www-style@w3.org> on 31 December 2002 in
> "CSS3 Pseudo-elements"
> (<mid:200212301023.36617.mikeday@yeslogic.com>), quoting the CSS3
> Selectors Candidate Recommendation:

>> When the ::first-letter and ::first-line pseudo-elements are
>> combined with ::before and ::after, they apply to the first letter
>> or line of the element including the inserted text.

> Then he asked:

>> So can multiple pseudo-elements be used in a single selector or not?

> Multiple pseudo-elements remain forbidden within a selector.

I think this should be clarified. (I was confused by the same text.) I
suggest
> When the ::first-letter and ::first-line pseudo-elements are
> combined with ::before and ::after, they apply to the first letter
> or line of the element including the inserted text.
is changed to
> If an element contains text inserted with ::before or ::after, the
> ::first-letter and ::first-line pseudo-elements apply to the first
> letter or line of the element including the inserted text.

A good example, like the one you gave, would also help.

-- 
John
Received on Tuesday, 31 December 2002 23:47:06 GMT

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