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

Re: Scope of :hover

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 03 Jun 2003 21:10:50 -0500
Message-ID: <3EDD552A.60001@mit.edu>
To: John Lewis <lewi0371@mrs.umn.edu>, www-style@w3.org

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?

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

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