W3C home > Mailing lists > Public > www-style@w3.org > May 2003

Re: CSS3 Selectors question

From: Michael Day <mikeday@yeslogic.com>
Date: Thu, 1 May 2003 19:01:33 +1000 (EST)
To: Ernest Cline <ernestcline@mindspring.com>
Cc: www-style@w3.org
Message-ID: <Pine.LNX.4.44.0305011859320.24631-100000@lorien.yeslogic.com>

> 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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:07 UTC