- From: Hayato Ito <notifications@github.com>
- Date: Mon, 03 Oct 2016 01:12:09 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Message-ID: <whatwg/dom/pull/336@github.com>
…Target are identical Change the behavior of event dispatch as follows: 1. Make an event dispatch happen until the root of the tree when target and relatedTarget are identical in synthetic events. 2. Do not dispatch an event when retargeted-target and retargeted-reletedTarget are identical, but target and relatedTarget are not identical. (2) is a bug fix. This sitution happens in UA events. For example, if a mouse pointer moves from an element in a shadow tree to its shadow host, a "mouseover" event should not be dispatched on the shadow host. The current spec allows a non-empty event path in this case. Fixes https://github.com/w3c/webcomponents/issues/577 You can view, comment on, or merge this pull request online at: https://github.com/whatwg/dom/pull/336 -- Commit Summary -- * Shadow: Update the behavior of event dispatch when target and relatedTarget are identical -- File Changes -- M dom.bs (47) M dom.html (43) -- Patch Links -- https://github.com/whatwg/dom/pull/336.patch https://github.com/whatwg/dom/pull/336.diff -- 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/336
Received on Monday, 3 October 2016 08:12:38 UTC