Re: Selectors

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 UTC