<?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>20615</bug_id>
          
          <creation_ts>2013-01-09 03:01:29 +0000</creation_ts>
          <short_desc>[Shadow]: Clarify &apos;At the time of event dispatch:&quot;</short_desc>
          <delta_ts>2013-07-17 20:37:38 +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 - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>20604</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>15480</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Hayato Ito">hayato</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81098</commentid>
    <comment_count>0</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-01-09 03:01:29 +0000</bug_when>
    <thetext>Shadow DOM spec 5.5 (https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#event-dispatch) says:


&apos;At the time of event dispatch&apos;, ..

It sounds a little ambiguous.

My understanding is &apos;before starting capturing phase&apos;. I mean that all of target, relatedTarget, and MouseEvent offsetX/Y should be pre-calculated in every nodes in the propagation path before starting capturing phase so that the result of calling event listeners does not affect these values.

It might be better to clarify when we should calculate these values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81099</commentid>
    <comment_count>1</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-01-09 03:15:02 +0000</bug_when>
    <thetext>This is an implementation matter, but I&apos;d like to note that pre-calculating MouseEvent offsetX and offsetY in every nodes might needs some cost since offsetX or offsetY seems lazy evaluated in current WebKit&apos;s implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90883</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-07-17 20:37:38 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 20604 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>