{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/dom/issues/336","repository_url":"https://api.github.com/repos/whatwg/dom","labels_url":"https://api.github.com/repos/whatwg/dom/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/dom/issues/336/comments","events_url":"https://api.github.com/repos/whatwg/dom/issues/336/events","html_url":"https://github.com/whatwg/dom/pull/336","id":180583922,"number":336,"title":"Do not dispatch a trusted event when target and reletedTarget are identical","user":{"login":"hayatoito","id":160288,"avatar_url":"https://avatars.githubusercontent.com/u/160288?v=3","gravatar_id":"","url":"https://api.github.com/users/hayatoito","html_url":"https://github.com/hayatoito","followers_url":"https://api.github.com/users/hayatoito/followers","following_url":"https://api.github.com/users/hayatoito/following{/other_user}","gists_url":"https://api.github.com/users/hayatoito/gists{/gist_id}","starred_url":"https://api.github.com/users/hayatoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayatoito/subscriptions","organizations_url":"https://api.github.com/users/hayatoito/orgs","repos_url":"https://api.github.com/users/hayatoito/repos","events_url":"https://api.github.com/users/hayatoito/events{/privacy}","received_events_url":"https://api.github.com/users/hayatoito/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":38,"created_at":"2016-10-03T08:12:07Z","updated_at":"2016-10-21T03:55:50Z","closed_at":"2016-10-18T06:15:38Z","pull_request":{"url":"https://api.github.com/repos/whatwg/dom/pulls/336","html_url":"https://github.com/whatwg/dom/pull/336","diff_url":"https://github.com/whatwg/dom/pull/336.diff","patch_url":"https://github.com/whatwg/dom/pull/336.patch"},"body":"…Target are identical\r\n\r\nChange the behavior of event dispatch as follows:\r\n\r\n1. Make an event dispatch happen until the root of the tree when target\r\nand relatedTarget are identical in synthetic events.\r\n\r\n2. Do not dispatch an event when retargeted-target and\r\nretargeted-reletedTarget are identical, but target and relatedTarget are\r\nnot identical.\r\n\r\n(2) is a bug fix. This sitution happens in UA events. For example,\r\nif a mouse pointer moves from an element in a shadow tree to\r\nits shadow host, a \"mouseover\" event should not be dispatched on the\r\nshadow host. The current spec allows a non-empty event path in this case.\r\n\r\nFixes https://github.com/w3c/webcomponents/issues/577"},"comment":{"url":"https://api.github.com/repos/whatwg/dom/issues/comments/255287865","html_url":"https://github.com/whatwg/dom/pull/336#issuecomment-255287865","issue_url":"https://api.github.com/repos/whatwg/dom/issues/336","id":255287865,"user":{"login":"hayatoito","id":160288,"avatar_url":"https://avatars.githubusercontent.com/u/160288?v=3","gravatar_id":"","url":"https://api.github.com/users/hayatoito","html_url":"https://github.com/hayatoito","followers_url":"https://api.github.com/users/hayatoito/followers","following_url":"https://api.github.com/users/hayatoito/following{/other_user}","gists_url":"https://api.github.com/users/hayatoito/gists{/gist_id}","starred_url":"https://api.github.com/users/hayatoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayatoito/subscriptions","organizations_url":"https://api.github.com/users/hayatoito/orgs","repos_url":"https://api.github.com/users/hayatoito/repos","events_url":"https://api.github.com/users/hayatoito/events{/privacy}","received_events_url":"https://api.github.com/users/hayatoito/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T03:55:50Z","updated_at":"2016-10-21T03:55:50Z","body":"Ah, I see. Okay to remove `isTrusted` guard since we have \"target is not event's relatedTarget\" clause. That would make sense.\r\nI can add tests for WTP. Thank you!"}}
{"actor":{"display_login":"hayatoito"}}