<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>9737</bug_id>
          
          <creation_ts>2006-07-05 01:59:11 -0700</creation_ts>
          <short_desc>Quirks Mode: :hover should only apply to links, images, forms</short_desc>
          <delta_ts>2022-07-24 07:07:47 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>418.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>http://www.laneneave.co.nz/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Rowe (bdash)">mrowe</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>anantha</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>chris</cc>
    
    <cc>mitz</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
    
    <cc>zcorpan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48309</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-07-05 01:59:11 -0700</bug_when>
    <thetext>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&apos;t display the underline.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48310</commentid>
    <comment_count>1</comment_count>
      <attachid>9203</attachid>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-07-05 02:03:31 -0700</bug_when>
    <thetext>Created attachment 9203
Reduced test case demonstrating the problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48311</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-07-05 02:08:05 -0700</bug_when>
    <thetext>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 &amp; Style), and is related to bug https://bugzilla.mozilla.org/show_bug.cgi?id=96984.

I&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48312</commentid>
    <comment_count>3</comment_count>
      <attachid>9204</attachid>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-07-05 02:09:17 -0700</bug_when>
    <thetext>Created attachment 9204
Same reduction with a doctype added to demonstrate the Firefox quirksmode behaviour</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12012</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-04-28 06:59:19 -0700</bug_when>
    <thetext>*** Bug 13527 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-09-24 23:54:39 -0700</bug_when>
    <thetext>*** Bug 15269 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>696978</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Pieters (:zcorpan)">zcorpan</who>
    <bug_when>2012-08-16 03:30:04 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886325</commentid>
    <comment_count>7</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-24 04:00:18 -0700</bug_when>
    <thetext>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 &quot;underline&quot; 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 &quot;RESOLVED INVALID&quot; since Safari didn&apos;t change the behaviour but Firefox did. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886340</commentid>
    <comment_count>8</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2022-07-24 07:07:47 -0700</bug_when>
    <thetext>Thank you!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>9203</attachid>
            <date>2006-07-05 02:03:31 -0700</date>
            <delta_ts>2006-07-05 02:03:31 -0700</delta_ts>
            <desc>Reduced test case demonstrating the problem</desc>
            <filename>9737-reduction.html</filename>
            <type>text/html</type>
            <size>390</size>
            <attacher name="Mark Rowe (bdash)">mrowe</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgPGhlYWQ+CiAgICA8c3R5bGUgdHlwZT0ndGV4dC9jc3MnPgogICAgICAuc29tZS1j
bGFzczpob3ZlciwgI3NvbWUtaWQ6aG92ZXIgeyB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTsg
fQogICAgPC9zdHlsZT4KCiAgPC9oZWFkPgogIDxib2R5PgoKICAgIDxwIGNsYXNzPSJzb21lLWNs
YXNzIj5UaGlzIGxpbmUgb2YgdGV4dCB3aWxsIGJlIHVuZGVybGluZWQgd2hlbiBtb3VzZWQgb3Zl
ciBpbiBTYWZhcmksIGJ1dCBub3QgaW4gRmlyZWZveC48L3A+CgogICAgPHAgaWQ9InNvbWUtaWQi
PlRoaXMgbGluZSBvZiB0ZXh0IHdpbGwgYmUgdW5kZXJsaW5lZCB3aGVuIG1vdXNlZCBvdmVyIGlu
IGJvdGggU2FmYXJpIGFuZCBGaXJlZm94LjwvcD4KICA8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>9204</attachid>
            <date>2006-07-05 02:09:17 -0700</date>
            <delta_ts>2006-07-05 02:09:17 -0700</delta_ts>
            <desc>Same reduction with a doctype added to demonstrate the Firefox quirksmode behaviour</desc>
            <filename>9737-reduction-strict.html</filename>
            <type>text/html</type>
            <size>403</size>
            <attacher name="Mark Rowe (bdash)">mrowe</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlIHR5cGU9J3RleHQvY3Nz
Jz4KICAgICAgLnNvbWUtY2xhc3M6aG92ZXIsICNzb21lLWlkOmhvdmVyIHsgdGV4dC1kZWNvcmF0
aW9uOiB1bmRlcmxpbmU7IH0KICAgIDwvc3R5bGU+CgogIDwvaGVhZD4KICA8Ym9keT4KCiAgICA8
cCBjbGFzcz0ic29tZS1jbGFzcyI+VGhpcyBsaW5lIG9mIHRleHQgd2lsbCBiZSB1bmRlcmxpbmVk
IHdoZW4gbW91c2VkIG92ZXIgaW4gYm90aCBTYWZhcmkgYW5kIEZpcmVmb3guPC9wPgoKICAgIDxw
IGlkPSJzb21lLWlkIj5UaGlzIGxpbmUgb2YgdGV4dCB3aWxsIGJlIHVuZGVybGluZWQgd2hlbiBt
b3VzZWQgb3ZlciBpbiBib3RoIFNhZmFyaSBhbmQgRmlyZWZveC48L3A+CiAgPC9ib2R5Pgo8L2h0
bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>