8000 Make width/height default to 1, remove UA "guessing"/faking geometry by patrickhlauke · Pull Request #69 · w3c/pointerevents · GitHub
[go: up one dir, main page]

Skip to content

Conversation

patrickhlauke
Copy link
Member

Closes #65

index.html Outdated
<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

Merging, as no objections. https://www.w3.org/2016/05/25-pointerevents-minutes.html

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

Successfully merging this pull request may close these issues.

4 participants
0