RESOLVED CONFIGURATION CHANGED 9737
Quirks Mode: :hover should only apply to links, images, forms
https://bugs.webkit.org/show_bug.cgi?id=9737
Summary Quirks Mode: :hover should only apply to links, images, forms
Mark Rowe (bdash)
Reported 2006-07-05 01:59:11 PDT
Steps to reproduce: 1) Visit http://www.laneneave.co.nz/. 2) Move the mouse cursor over the body text of the page. Expected result: No change. Observed result: Text is underlined. Other comments: Firefox doesn't display the underline.
Attachments
Reduced test case demonstrating the problem (390 bytes, text/html)
2006-07-05 02:03 PDT, Mark Rowe (bdash)
no flags
Same reduction with a doctype added to demonstrate the Firefox quirksmode behaviour (403 bytes, text/html)
2006-07-05 02:09 PDT, Mark Rowe (bdash)
no flags
Mark Rowe (bdash)
Comment 1 2006-07-05 02:03:31 PDT
Created attachment 9203 [details] Reduced test case demonstrating the problem
Mark Rowe (bdash)
Comment 2 2006-07-05 02:08:05 PDT
Firefox has a quirk that limits the application of :hover psuedoclass to links, images, and form controls, unless the selector includes tag names, ids, or attributes. This is documented at http://developer.mozilla.org/en/docs/Mozilla_Quirks_Mode_Behavior (last item under Miscellaneous & Style), and is related to bug https://bugzilla.mozilla.org/show_bug.cgi?id=96984. I've noticed this issue on a few occasions in the past, so I think it would be worthwhile adopting a similar quirks-mode behaviour if practical.
Mark Rowe (bdash)
Comment 3 2006-07-05 02:09:17 PDT
Created attachment 9204 [details] Same reduction with a doctype added to demonstrate the Firefox quirksmode behaviour
Mark Rowe (bdash)
Comment 4 2007-04-28 06:59:19 PDT
*** Bug 13527 has been marked as a duplicate of this bug. ***
Mark Rowe (bdash)
Comment 5 2007-09-24 23:54:39 PDT
*** Bug 15269 has been marked as a duplicate of this bug. ***
Simon Pieters (:zcorpan)
Comment 6 2012-08-16 03:30:04 PDT
AFAICT this is fixed in webkit now, but only for links, which matches Opera/IE/spec. http://dvcs.w3.org/hg/quirks-mode/raw-file/tip/Overview.html#the-:active-and-:hover-quirk
Ahmad Saleem
Comment 7 2022-07-24 04:00:18 PDT
I am not able to reproduce this bug in Safari 15.6 on macOS 12.5 using attached test case (Reduced test case demonstrating..), it shows "underline" while hovering on both lines across all other browsers (Chrome Canary 106 and Firefox Nightly 104) matching current Safari behavior. It is also confirmed in Comment 06. I think this can be marked as "RESOLVED INVALID" since Safari didn't change the behaviour but Firefox did. Thanks!
zalan
Comment 8 2022-07-24 07:07:47 PDT
Thank you!
Note You need to log in before you can comment on or make changes to this bug.