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

Re: CSS3 Selectors question

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 4 May 2003 06:54:20 -0700 (PDT)
To: Ernest Cline <ernestcline@mindspring.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.50.0305040650030.3080-100000@dhalsim.dreamhost.com>

On Sat, 3 May 2003, Ernest Cline wrote:
> For example, consider the following set of CSS rules:
>   ::selection {outline: medium red solid}
>   ::selection>* {outline: medium green dashed}
> If ::selection could have children this would enable a user to
> determine if the selection boundary matched up with an element boundary
> even if it was not obvious in the nonselected document.

I would suggest that there would be much better ways, in terms of user
interface, to show this. The rule above is likely to end up with multiple
intersecting lines in a rather confusing muddle.

> 1) Is there a way of establishing that ::selection has precedence?

I'm not sure what you mean by "precedence". It has a specificity of
(0,0,0,1), same as any pseudo-element.

> Still if the intention is that ::selection is to have no children, then
> that is something that should be added to the errata.


Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 4 May 2003 09:54:51 UTC

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