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

Re: CSS3 Selectors question

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 3 May 2003 16:44:37 -0700 (PDT)
To: Ernest Cline <ernestcline@mindspring.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.50.0305031642590.3080-100000@dhalsim.dreamhost.com>

On Thu, 1 May 2003, Ernest Cline wrote:
> [Ian, paraphrased:]
>>    ::selection *
>> ...is invalid because selections never contain elements
>
> Where does that restiction exist?

Hmm, that doesn't seem to have made it into the spec. The intention is
that ::selection is the inner most pseudo-element at any point.

That has to be the case, otherwise nested elements' backgrounds, colours,
and cursors would override the selection's, which is bad UI.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 3 May 2003 20:09:59 GMT

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