<?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>54025</bug_id>
          
          <creation_ts>2011-02-08 11:43:15 -0800</creation_ts>
          <short_desc>Adjusting relatedTarget can be much faster and more accurate</short_desc>
          <delta_ts>2012-01-12 14:42:27 -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>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</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>
          <dependson>52065</dependson>
    
    <dependson>52963</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov (Google)">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov (Google)">dglazkov</assigned_to>
          <cc>dglazkov</cc>
    
    <cc>eric</cc>
    
    <cc>hayato</cc>
    
    <cc>rolandsteiner</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>347571</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2011-02-08 11:43:15 -0800</bug_when>
    <thetext>Once we have O(1) access to shadowRoot, we can:

1) Easily determine whether we even need to walk anything.
2) Use scopes to check whether we need to adjust relatedTarget. See http://dev.w3.org/2006/xbl2/#the-mouseover-and-mouseout-events for more details.
3) Use scope chain to walk more quickly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>453674</commentid>
    <comment_count>1</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2011-08-19 00:03:25 -0700</bug_when>
    <thetext>I think we already have O(1) access to shadowRoot. Let me rewrite adjust relatedTarget code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>453822</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2011-08-19 07:50:08 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; I think we already have O(1) access to shadowRoot. Let me rewrite adjust relatedTarget code.

SVG is still blocking you :(.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>454426</commentid>
    <comment_count>3</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2011-08-21 16:47:39 -0700</bug_when>
    <thetext>Thank you for the info. SVG still looks blocking as you said. :(

(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; I think we already have O(1) access to shadowRoot. Let me rewrite adjust relatedTarget code.
&gt; 
&gt; SVG is still blocking you :(.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535180</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-01-12 14:38:11 -0800</bug_when>
    <thetext>This isn&apos;t causing:
http://samples.msdn.microsoft.com/ietestcenter/domevents/mouseleave.relatedTarget.html
and:
http://samples.msdn.microsoft.com/ietestcenter/domevents/mouseenter.ctrlKey.html

is it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535182</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-01-12 14:38:53 -0800</bug_when>
    <thetext>Sorry, http://samples.msdn.microsoft.com/ietestcenter/domevents/mouseenter.relatedTarget.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535187</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-01-12 14:42:27 -0800</bug_when>
    <thetext>Nevermind.  We don&apos;t support those two events.  https://bugs.webkit.org/show_bug.cgi?id=18930</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>