Bug 14989

Summary: Selector consisting of just ":hover" doesn't match any elements
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bdakin, benjamin, hyatt, sam
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   
Attachments:
Description Flags
test case none

Adam Roben (:aroben)
Reported 2007-08-16 11:55:30 PDT
Using a selector that is simply ":hover" doesn't match any elements.
Attachments
test case (212 bytes, text/html)
2007-08-16 11:56 PDT, Adam Roben (:aroben)
no flags
Adam Roben (:aroben)
Comment 1 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.
mitz
Comment 2 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)
Adam Roben (:aroben)
Comment 3 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.
Benjamin Poulain
Comment 4 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
Note You need to log in before you can comment on or make changes to this bug.