Bug 14989 - Selector consisting of just ":hover" doesn't match any elements
Summary: Selector consisting of just ":hover" doesn't match any elements
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-16 11:55 PDT by Adam Roben (:aroben)
Modified: 2014-11-01 16:12 PDT (History)
4 users (show)

See Also:


Attachments
test case (212 bytes, text/html)
2007-08-16 11:56 PDT, Adam Roben (:aroben)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2007-08-16 11:55:30 PDT
Using a selector that is simply ":hover" doesn't match any elements.
Comment 1 Adam Roben (:aroben) 2007-08-16 11:56:18 PDT
Created attachment 15999 [details]
test case

Note that in Firefox this selector doesn't match the <p> elements, but does match the <input> and <button> elements.
Comment 2 mitz 2007-08-16 14:36:13 PDT
(In reply to comment #0)
> Using a selector that is simply ":hover" doesn't match any elements.

(in quirks mode)
Comment 3 Adam Roben (:aroben) 2007-08-17 13:48:16 PDT
Comment on attachment 15999 [details]
test case

Windows IE 7 has the same behavior as Safari 3 beta on this test case: :hover doesn't match any elements.
Comment 4 Benjamin Poulain 2014-11-01 16:12:56 PDT
Closing: that's the expected behavior in quirks mode https://quirks.spec.whatwg.org/#the-:active-and-:hover-quirk