Re: CSS3 Pseudo-elements

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 UTC