<?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>35246</bug_id>
          
          <creation_ts>2010-02-22 10:08:29 -0800</creation_ts>
          <short_desc>mouseout and mouseover events with relatedTarget == null should be sent when exiting/entering the browser</short_desc>
          <delta_ts>2017-03-11 10:53:21 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Grant Gayed">grant_gayed</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cmarcelo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>192503</commentid>
    <comment_count>0</comment_count>
    <who name="Grant Gayed">grant_gayed</who>
    <bug_when>2010-02-22 10:08:29 -0800</bug_when>
    <thetext>- observed with WebKitGTK 1.1.21

- view the page at the bottom with GtkLauncher
- move the mouse into and out of the browser control
  -&gt; the first time the mouse enters a mouseover is received with relatedTarget == null, which is correct
  -&gt; however from this point onwards there are no more mouseover and mouseout events received with relatedTarget == null when moving the mouse into and out of the browser control

&lt;html&gt;
&lt;head&gt;
&lt;script language=&quot;JavaScript&quot;&gt;
function mousehandler(e) {
  alert(e.type);
  alert(e.relatedTarget);
}
function init() {
  document.onmouseover = mousehandler;
  document.onmouseout = mousehandler;
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body onLoad=&quot;init()&quot;&gt;
&lt;textarea rows=&quot;2&quot; cols=&quot;20&quot;&gt;
&lt;/textarea&gt;
&lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>