W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: Selectors

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 16 Oct 2008 16:24:26 +0200
To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.ui4fm0br64w2qv@annevk-t60.oslo.opera.com>

On Thu, 16 Oct 2008 15:55:35 +0200, Daniel Glazman  
<daniel.glazman@disruptive-innovations.com> wrote:
>      * Does :hover apply to parent of hovered element if that element
>        is positioned "outside" of its parent?

Seems that :hover should rely on hit testing just like mouse events. Not  
sure why it matters where an element is positioned.


>      * ::selection pseudo-element

I always thought ::selection was innermost. For the case fantasai gave  
that would mean the aqua color applies. (This is also what Opera does, I'm  
happy to report.)


>      * :first-line interaction with inheritance

Pain :-) (Pain also applies to :first-letter by the way. Consider e.g:

   <p>"<span>Ouch</span>"</p>


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Thursday, 16 October 2008 14:25:18 GMT

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