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
Merged

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

merged 2 commits into from
May 25, 2016

Conversation

patrickhlauke
Copy link
Member

Closes #65

@@ -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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@teddink
Copy link

teddink commented May 20, 2016

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

@RByers
Copy link
Contributor

RByers commented May 25, 2016

LGTM

@patrickhlauke
Copy link
Member Author

patrickhlauke commented May 25, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants