Re: Scope of :hover

John Lewis wrote:
> If it's a horrible burden to implement *:hover and :hover differently

It's not really any more horrible than many other quirks, all things 
considered...  It will lead to unexpected behavior for anyone who tries 
to write CSS based on the specs, however (since the spec explicitly says 
those two are identical).

> A possible variant is letting :hover and *:hover apply
> only to certain elements similar to Win IE (so they will be identical
> selectors), but still letting h1:hover apply to h1 elements.

This is what Mozilla does, in quirks mode.  In standards mode, :hover 
and *:hover apply to everything.

Out of curiousity, is the Opera behavior you described the same in 
quirks and standards mode?

-Boris

Received on Tuesday, 3 June 2003 22:14:07 UTC