<?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>4117</bug_id>
          
          <creation_ts>2005-07-23 17:51:50 -0700</creation_ts>
          <short_desc>:hover, onmouseout, and onmouseover events don&apos;t trigger when objects move under mouse</short_desc>
          <delta_ts>2022-07-06 11:41:49 -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>DOM</component>
          <version>412</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://samrod.com/random/handlevent.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Samrod">samg0d</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alexandernst</cc>
    
    <cc>ap</cc>
    
    <cc>arvind.2111</cc>
    
    <cc>bfulgham</cc>
    
    <cc>bruckner.roman</cc>
    
    <cc>camaro396</cc>
    
    <cc>gbonanome</cc>
    
    <cc>ian</cc>
    
    <cc>imnicastelo</cc>
    
    <cc>julian.hollmann</cc>
    
    <cc>mail</cc>
    
    <cc>nbenitezl</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15111</commentid>
    <comment_count>0</comment_count>
    <who name="Samrod">samg0d</who>
    <bug_when>2005-07-23 17:51:50 -0700</bug_when>
    <thetext>If the user doesn&apos;t move the mouse but an object with either :hover, onmouseout,
or onmouseover slides under it, none of the events are triggered.

However, the events are trigged if objects slide under the mouse by a page
scrolling action.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15113</commentid>
    <comment_count>1</comment_count>
    <who name="Samrod">samg0d</who>
    <bug_when>2005-07-23 18:15:31 -0700</bug_when>
    <thetext>*** Bug 4109 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17029</commentid>
    <comment_count>2</comment_count>
    <who name="Samrod">samg0d</who>
    <bug_when>2005-08-20 19:25:19 -0700</bug_when>
    <thetext>This behavior has been corrected in Gecko 1.8 as you can see in the test case. 
Not sure what influence this has on the bug&apos;s priority level for WebKit.  But
just thought I&apos;d mention it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18550</commentid>
    <comment_count>3</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2005-09-03 13:48:04 -0700</bug_when>
    <thetext>I don&apos;t know if this is intended behavior, but the testcase is good and i think it should work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18601</commentid>
    <comment_count>4</comment_count>
    <who name="Samrod">samg0d</who>
    <bug_when>2005-09-03 18:57:51 -0700</bug_when>
    <thetext>Are you saying it&apos;s been fixed in the release or an unreleased build of WebKit?
 Because it&apos;s sure not behaving properly in Safari 412.5, Apple&apos;s latest release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23668</commentid>
    <comment_count>5</comment_count>
      <attachid>4587</attachid>
    <who name="Arvind Satyanarayan">arvind.2111</who>
    <bug_when>2005-11-03 22:24:41 -0800</bug_when>
    <thetext>Created attachment 4587
onMouseOver causes page to scrollby() onMouseOut doesn&apos;t fire

There are two arrows on either side of the screen that should scroll the
images. What should happen is as you hover, the images should scroll, using
scrollby() and setTimeout(), and when you move away from the arrows, they
should stop scrolling, using clearTimeout(). This works fine in Firefox but not
in Safari, I don&apos;t think onMouseOut is being fired.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26827</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2005-12-27 14:37:15 -0800</bug_when>
    <thetext>This attached test case is not at all clear to me.  http://samrod.com/random/handlevent.html works well 
though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26917</commentid>
    <comment_count>7</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2005-12-27 22:12:53 -0800</bug_when>
    <thetext>Put your mouse in the middle of one of the moving lines and don&apos;t move it, when it moves under your 
pointer, :hover will not be triggered, when you move over it yourself, it will. It&apos;s a good testcase, but i 
don&apos;t think this bug needs a lot of attention, since this is behavior that won&apos;t be noticed so often. 
Changing to p4 and trivial, until someone convinces me otherwise ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26921</commentid>
    <comment_count>8</comment_count>
    <who name="Samrod">samg0d</who>
    <bug_when>2005-12-27 23:10:59 -0800</bug_when>
    <thetext>It was a significant enough bug to have been corrected sometime between Firefox
1 and 1.5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28581</commentid>
    <comment_count>9</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-01-16 05:23:06 -0800</bug_when>
    <thetext>this happens in another fashion too, with links that aren&apos;t even moving:

1. pick any link that changes color when you move over it,
2. cmd-tab to another program so that it appears under your mouse pointer,
3. move your mouse out of the safari window,
4. tab back

the link will still be coloured. To try this use http://dev.outbreak.nl/webkit/. Moving your mouse pointer 
into the right frame will also leave the link in the left frame colored when you switch back. Since this will 
happen more often, i&apos;m upgrading priority and severity.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30328</commentid>
    <comment_count>10</comment_count>
    <who name="Johan Bergström">bugs</who>
    <bug_when>2006-01-27 12:55:41 -0800</bug_when>
    <thetext>I can make similar stuff happen by;

1. Create an object with an onmouseover trigger
2. Enter that page with your point above the object, the object does not start with onmouseover
3. Move pount around inside that object, onmouseover still doesn&apos;t trigger.
4. Position your pointer outside the object, then move it above - onmouseover triggers.

Firefox enters page with onmouseover triggered, so does Opera. Havent tried the behaviour on IE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37067</commentid>
    <comment_count>11</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-03-20 13:00:10 -0800</bug_when>
    <thetext>This can also be observed when manually running the tests landed with bug 3439 (fast/events/mouseover-mouseout.html). One needs to move the mouse quite slowly to see this, though.

There are a lot of loosely related issues gathered there, but it&apos;s not at all obvious which of them are really the same. Anyway, I think they warrant a P2 together :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43818</commentid>
    <comment_count>12</comment_count>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2006-11-29 12:24:01 -0800</bug_when>
    <thetext>See also bug 11705 which deals with the way these mouse events are dispatched when a DOM mutation occurs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>758362</commentid>
    <comment_count>13</comment_count>
    <who name="Julian Hollmann">julian.hollmann</who>
    <bug_when>2012-11-05 02:29:19 -0800</bug_when>
    <thetext>This bug still exists, please see my testcase: http://jsfiddle.net/qLCY3/4/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>838197</commentid>
    <comment_count>14</comment_count>
    <who name="Den">camaro396</who>
    <bug_when>2013-02-21 00:56:08 -0800</bug_when>
    <thetext>Same thing here. Put cursor into yellow circle and wait for the rectangle to come over the circle. :hover is not triggered until you move mouse.
http://jsfiddle.net/CamaroSS/ZUw65/12/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963813</commentid>
    <comment_count>15</comment_count>
    <who name="Giulio Bonanome">gbonanome</who>
    <bug_when>2014-01-02 11:47:15 -0800</bug_when>
    <thetext>Also :hover is not triggered if the page load the element under the mouse. It seems that :hover is triggered only on mousemove.
See http://jsfiddle.net/4XRUf/1/ (from http://stackoverflow.com/questions/20886903/css-hover-works-only-when-mouse-moves)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458617</commentid>
    <comment_count>16</comment_count>
    <who name="Nicolás Castellanos">imnicastelo</who>
    <bug_when>2018-09-11 13:19:17 -0700</bug_when>
    <thetext>Still happen on Safari</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1881023</commentid>
    <comment_count>17</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-06 11:40:59 -0700</bug_when>
    <thetext>This is still happening in Safari 15.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1881024</commentid>
    <comment_count>18</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-06 11:41:49 -0700</bug_when>
    <thetext>&lt;rdar://problem/96535959&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4587</attachid>
            <date>2005-11-03 22:24:41 -0800</date>
            <delta_ts>2005-11-03 22:24:41 -0800</delta_ts>
            <desc>onMouseOver causes page to scrollby() onMouseOut doesn&apos;t fire</desc>
            <filename>scrollingimages.html</filename>
            <type>text/html</type>
            <size>2713</size>
            <attacher name="Arvind Satyanarayan">arvind.2111</attacher>
            
              <data encoding="base64">PHN0eWxlPgovKiBFZGl0ZWQgd2l0aCBFZGl0Q1NTICovCgovKioqKiBJbmxpbmUgU1RZTEUtdGFn
IHN0eWxlIHNoZWV0ICoqKiovCgp1bCN0aGVtZWxpc3QKewpmb250OiBub3JtYWwgMTFweCBWZXJk
YW5hLCBBcmlhbCwgc2Fucy1zZXJpZjsKbGlzdC1zdHlsZS10eXBlOiBub25lOwptYXJnaW46IDA7
CnBhZGRpbmctcmlnaHQ6NXB4Owp9CnVsI3RoZW1lbGlzdCBsaQp7CmZsb2F0OiBsZWZ0Owp9Cgpp
bWcge2JvcmRlcjowfQpib2R5IHtiYWNrZ3JvdW5kOiMwRjIyMkM7Zm9udDogbm9ybWFsIDExcHgg
VmVyZGFuYSwgQXJpYWwsIHNhbnMtc2VyaWY7d2lkdGg6MTAwM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