Re: [whatwg/dom] Set event.target to null when dispatching finishes at ShadowRoot (#513)

TakayoshiKochi commented on this pull request.



> @@ -1253,6 +1253,9 @@ for discussion).
 
  <li><p>Set <var>event</var>'s {{Event/eventPhase}} attribute to {{Event/NONE}}.
 
+ <li><p>If {{Event/target}}'s <a for=tree>root</a> is a <a for=/>shadow root</a>, set

Thanks, done.

Will add a test case there for relatedTarget is in document tree while target is in shadow tree and event stops at shadow root to make sure both are set to null.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/513#discussion_r142874893

Received on Thursday, 5 October 2017 08:17:43 UTC