Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

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

Closed
wants to merge 2 commits into from
Closed

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

wants to merge 2 commits into from

Conversation

appsforartists
Copy link
Contributor

Nonsensically, pointerup events currently have a non-zero pressure on iOS. As outlined in w3c/pointerevents#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
Copy link

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).

📝 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
Copy link
Contributor

Google, Inc. is not an author.

@appsforartists
Copy link
Contributor Author

appsforartists commented Sep 22, 2016

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

scottgonzalez pushed a commit that referenced this pull request Sep 27, 2016
@scottgonzalez scottgonzalez added this to the 0.4.2 milestone May 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
3 participants