jquery-archive / PEP

Pointer Events Polyfill: a unified event system for the web platform
https://www.w3.org/TR/pointerevents/
Other
1.67k stars 160 forks source link

PointerEvent: set pressure to 0 unless pointer is down #313

Closed appsforartists closed 8 years ago

appsforartists commented 8 years ago

Nonsensically, pointerup events currently have a non-zero pressure on iOS. As outlined in https://github.com/w3c/pointerevents/issues/146, the spec should be updated to make it clear that if a pointer is up, pressure must be 0. (This is already the case for pointers that don't report granular pressure - this proposal only makes that rule consistent.) This PR also makes PEP's behavior consistent with Firefox on all platforms.

https://github.com/w3c/web-platform-tests also needs to be updated, both to assert that pressure is 0 in pointerup and to test for custom pressure in a pointermove; the current test checks in pointerover.

jquerybot commented 8 years ago

Thank you for your pull request. It looks like this may be your first contribution to a jQuery Foundation project, if so we need you to sign our Contributor License Agreement (CLA).

:memo: Please visit http://contribute.jquery.org/CLA/ to sign.

After you signed, the PR is checked again automatically after a minute. If there's still an issue, please reply here to let us know.


If you've already signed our CLA, it's possible your git author information doesn't match your CLA signature (both your name and email have to match), for more information, check the status of your CLA check.

scottgonzalez commented 8 years ago

Google, Inc. is not an author.

appsforartists commented 8 years ago

@willnorris - thoughts on AUTHORS? Apparently, when Polymer maintained this, they didn't list Google either.