Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make width/height default to 1, remove UA "guessing"/faking geometry #69

Merged
merged 2 commits into from May 25, 2016

Conversation

@patrickhlauke
Copy link
Member

commented May 20, 2016

Closes #65

index.html Outdated
@@ -244,11 +244,11 @@
</dd>
<dt>readonly attribute double width</dt>
<dd>
The width (magnitude on the X axis), in CSS pixels (see [[CSS21]]), of the <a>contact geometry</a> of the pointer. This value MAY be updated on each event for a given pointer. For devices which have a contact geometry but the actual geometry is not reported by the hardware, a default value SHOULD be provided by the <a>user agent</a> to approximate the geometry typical of that pointer type. Otherwise, the value MUST be 0.
The width (magnitude on the X axis), in CSS pixels (see [[CSS21]]), of the <a>contact geometry</a> of the pointer. This value MAY be updated on each event for a given pointer. For inputs that typically lack contact geometry (such as a traditional mouse or stylus), and in cases where the actual geometry of the input is not detected by the hardware, the <a>user agent</a> MUST return a default value of 1.

This comment has been minimized.

Copy link
@mustaqahmed

mustaqahmed May 20, 2016

Contributor

May we possibly omit "stylus"? Stylus "contact area" could be considered equivalent to "having a geometry".

This comment has been minimized.

Copy link
@patrickhlauke

patrickhlauke May 21, 2016

Author Member

good point...in hindsight, i completely agree that a stylus has a contact geometry. going to make the change and force-push

@teddink

This comment has been minimized.

Copy link

commented May 20, 2016

Change looks good to me. I am fine either with or without the reference to stylus.

@RByers

This comment has been minimized.

Copy link
Contributor

commented May 25, 2016

LGTM

@patrickhlauke

This comment has been minimized.

Copy link
Member Author

commented May 25, 2016

@patrickhlauke patrickhlauke merged commit bf0d29d into w3c:gh-pages May 25, 2016

@patrickhlauke patrickhlauke deleted the patrickhlauke:width-height-patch branch Mar 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.