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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17627</bug_id>
          
          <creation_ts>2012-06-28 09:59:11 +0000</creation_ts>
          <short_desc>The order of mouseenter/leave events in a subtree should be defined</short_desc>
          <delta_ts>2012-08-23 23:17:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - DOM3 Events</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>needsReview</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Olli Pettay">bugs</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>mike</cc>
    
    <cc>travil</cc>
    
    <cc>wizard04</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69481</commentid>
    <comment_count>0</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2012-06-28 09:59:11 +0000</bug_when>
    <thetext>&lt;div id=&quot;outer&quot;&gt;&lt;div id=&quot;middle&quot;&gt;&lt;div id=&quot;inner&quot;&gt;foo&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

When you move mouse to over the foo, mouseenter should be dispatched first to
outer, then middle, then inner.
When you move mouse out from foo, mouseleave should be dispatched first to
inner, then middle, then outer.
(That is how IE, Opera and Gecko behave atm)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71684</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-07-30 23:29:59 +0000</bug_when>
    <thetext>Agree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71686</commentid>
    <comment_count>2</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-07-31 00:08:06 +0000</bug_when>
    <thetext>Fixed by adding a 3rd sequence of events and description to section  5.2.3.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71747</commentid>
    <comment_count>3</comment_count>
    <who name="Andy Harrison">wizard04</who>
    <bug_when>2012-08-01 17:22:06 +0000</bug_when>
    <thetext>Since all three divs have the same dimensions and position, only a single mouseover is dispatched (to inner) when the mouse is moved from outside of the divs to over the foo. I think it should be made clear that mouseenter will then be dispatched to each of outer, middle, and inner (not just inner).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71857</commentid>
    <comment_count>4</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-08-06 18:26:30 +0000</bug_when>
    <thetext>Ah got it. I assumed no-overlap in my scenario. A picture would be helpful to explain this too. I&apos;ll give it a shot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72675</commentid>
    <comment_count>5</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-08-23 23:17:04 +0000</bug_when>
    <thetext>Checked in the updated scenario (including an explanatory graphic) into the same section. I think this resolves the bug :-)

Thanks

http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>