{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/PEP/issues/168","labels_url":"https://api.github.com/repos/jquery/PEP/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/jquery/PEP/issues/168/comments","events_url":"https://api.github.com/repos/jquery/PEP/issues/168/events","html_url":"https://github.com/jquery/PEP/pull/168","id":59969684,"number":168,"title":"Improve pointerdown/up events and buttons property in combination with mouse events.","user":{"login":"Steditor","id":2188983,"avatar_url":"https://avatars.githubusercontent.com/u/2188983?v=3","gravatar_id":"","url":"https://api.github.com/users/Steditor","html_url":"https://github.com/Steditor","followers_url":"https://api.github.com/users/Steditor/followers","following_url":"https://api.github.com/users/Steditor/following{/other_user}","gists_url":"https://api.github.com/users/Steditor/gists{/gist_id}","starred_url":"https://api.github.com/users/Steditor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Steditor/subscriptions","organizations_url":"https://api.github.com/users/Steditor/orgs","repos_url":"https://api.github.com/users/Steditor/repos","events_url":"https://api.github.com/users/Steditor/events{/privacy}","received_events_url":"https://api.github.com/users/Steditor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jquery/PEP/labels/CLA:%20Valid","name":"CLA: Valid","color":"007700"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-05T15:44:25Z","updated_at":"2015-06-12T17:06:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jquery/PEP/pulls/168","html_url":"https://github.com/jquery/PEP/pull/168","diff_url":"https://github.com/jquery/PEP/pull/168.diff","patch_url":"https://github.com/jquery/PEP/pull/168.patch"},"body":"This improves the mouse -> pointer event mapping in two ways:\r\n - `pointerdown` / `pointerup` events are only fired when the first button is depressed respectively the last button is released. Interim button state changes do not trigger those events, as specified in the recommendation. As the IE implementation suggests, these interim changes are reflected with a `pointermove` event.\r\n - the `buttons` property has now always the correct content (except for `pointerdown` and `pointerup` it was undefined in Chrome before). I switched from `which` to `button` as source of button information, because `which` seems to be non-standard. _Note that the `button` property of the pointer events is not yet in sync with the recommendation._"},"comment":{"url":"https://api.github.com/repos/jquery/PEP/issues/comments/111559224","html_url":"https://github.com/jquery/PEP/pull/168#issuecomment-111559224","issue_url":"https://api.github.com/repos/jquery/PEP/issues/168","id":111559224,"user":{"login":"stuartpb","id":572196,"avatar_url":"https://avatars.githubusercontent.com/u/572196?v=3","gravatar_id":"","url":"https://api.github.com/users/stuartpb","html_url":"https://github.com/stuartpb","followers_url":"https://api.github.com/users/stuartpb/followers","following_url":"https://api.github.com/users/stuartpb/following{/other_user}","gists_url":"https://api.github.com/users/stuartpb/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartpb/subscriptions","organizations_url":"https://api.github.com/users/stuartpb/orgs","repos_url":"https://api.github.com/users/stuartpb/repos","events_url":"https://api.github.com/users/stuartpb/events{/privacy}","received_events_url":"https://api.github.com/users/stuartpb/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T17:06:58Z","updated_at":"2015-06-12T17:06:58Z","body":"I'm pretty sure there also need to be some W3C tests for multi-touch (as that's how the pointer capture release bug I'm looking to fix went undetected), but that's probably a job for a separate issue."}}