Re: CSS3 Selectors question

> Can anyone explain the reason for the restriction (Section 7):
>   Pseudo-elements may only appear once in the sequence of simple
>   selectors that represents the subjects of the selector.

This sentence can't just be dropped, it must be replaced with something
that is worded extremely carefully. What about:

p::before::before::before { content: "Hello, world!" }

p:not(::first-line)::after { content: ")" }

li::marker::marker { color: red }

If pseudo-elements can occur more than once, there needs to be some
definition of what it actually *means*.

Michael Day

YesLogic Pty. Ltd.

Received on Thursday, 1 May 2003 03:41:38 UTC