[whatwg] [WF2] Readonly and default pseudoclass matching

L. David Baron dbaron at dbaron.org
Sun Jul 31 10:33:44 PDT 2005


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>


More information about the whatwg mailing list