Re: CSS3 Selectors question

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 UTC