W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] [WF2] Readonly and default pseudoclass matching

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 31 Jul 2005 10:33:44 -0700
Message-ID: <20050731173344.GA24387@ridley.dbaron.org>
On Sunday 2005-07-31 11:29 -0500, Boris Zbarsky wrote:
> >   Without knowing the details of how :hover came to be, I may be
> >setting myself up on this one, but I'll bet that it wasn't originally
> >defined in something like an HTML spec as only applying to links, then
> >was redefined to apply to all elements after the fact.
> 
> It was defined in CSS1 to apply to links and then broadened in scope in 
> CSS2.

You're thinking of :active.

:hover was not in CSS1 at all, and no specification that I know of
limited it to links.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
          Technical Lead, Layout & CSS, The Mozilla Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20050731/8b1540c3/attachment.pgp>
Received on Sunday, 31 July 2005 10:33:44 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC