<?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>29519</bug_id>
          
          <creation_ts>2016-03-07 14:50:52 +0000</creation_ts>
          <short_desc>Consider specifying MouseEvent#toElement, fromElement</short_desc>
          <delta_ts>2017-01-10 20:00:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSSOM View</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://github.com/w3c/uievents/issues/84</see_also>
          <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>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>fs</cc>
    
    <cc>miketaylr</cc>
    
    <cc>w3bugs</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125375</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-03-07 14:50:52 +0000</bug_when>
    <thetext>https://drafts.csswg.org/cssom-view/

https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/events/MouseEvent.cpp&amp;l=225

// MSIE extension - &quot;the object toward which the user is moving the mouse pointer&quot;

// MSIE extension - &quot;object from which activation or the mouse pointer is exiting during the event&quot; (huh?)

Supported in WebKit and Chromium. Not supported in Gecko.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3966

https://github.com/search?p=1&amp;q=%22event+fromelement%22&amp;ref=searchresults&amp;type=Code&amp;utf8=%E2%9C%93 shows some usage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125376</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-03-07 14:59:37 +0000</bug_when>
    <thetext>The only Mozilla bugs I can find mentioning fromElement or toElement are 
https://bugzilla.mozilla.org/show_bug.cgi?id=961708
https://bugzilla.mozilla.org/show_bug.cgi?id=1205244

Mike, is this something you think Gecko should implement?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125379</commentid>
    <comment_count>2</comment_count>
    <who name="Mike Taylor">miketaylr</who>
    <bug_when>2016-03-08 02:40:54 +0000</bug_when>
    <thetext>[1] is the only site known to me that has been broken due to lack of support, and luckily an ex-employee got it fixed really quickly. It doesn&apos;t seem to be a huge issue for us -- but if we found more proof that it breaks content doing the same thing Blink and WebKit do seems easy.

IIRC when looking at [1], Edge still supports this.

[1] &lt;https://bugzilla.mozilla.org/show_bug.cgi?id=1205244&gt;

(I&apos;m so confused by that other report you listed, I&apos;m not sure what they&apos;re asking for).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127089</commentid>
    <comment_count>3</comment_count>
    <who name="Mike Taylor">miketaylr</who>
    <bug_when>2016-07-29 22:45:36 +0000</bug_when>
    <thetext>Another site depending on this: https://github.com/webcompat/web-bugs/issues/2929#issuecomment-236309173</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127249</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Rebert">w3bugs</who>
    <bug_when>2016-08-28 04:39:08 +0000</bug_when>
    <thetext>Conveniently, Chrome has usage metrics for these 2 properties:
* https://www.chromestatus.com/metrics/feature/timeline/popularity/506
* https://www.chromestatus.com/metrics/feature/timeline/popularity/507</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128356</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Rebert">w3bugs</who>
    <bug_when>2017-01-10 20:00:59 +0000</bug_when>
    <thetext>Draft of tests for .toElement &amp; .fromElement:
https://github.com/w3c/web-platform-tests/pull/4408</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>