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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@ <h2><code>PointerEvent</code> Interface</h2>
</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), 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.
</dd>
<dt>readonly attribute double height</dt>
<dd>
The height (magnitude on the Y 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 height (magnitude on the Y 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), 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.
</dd>
<dt>readonly attribute float pressure</dt>
<dd>
Expand Down Expand Up @@ -296,9 +296,9 @@ <h2><code>PointerEvent</code> Interface</h2>
<dl class="idl" title="dictionary PointerEventInit : MouseEventInit">
<dt>long pointerId = 0</dt>
<dd>Initializes the <code>pointerId</code> property of the <code>PointerEvent</code> object.</dd>
<dt>double width = 0</dt>
<dt>double width = 1</dt>
<dd>Initializes the <code>width</code> property of the <code>PointerEvent</code> object.</dd>
<dt>double height = 0</dt>
<dt>double height = 1</dt>
<dd>Initializes the <code>height</code> property of the <code>PointerEvent</code> object.</dd>
<dt>float pressure = 0</dt>
<dd>Initializes the <code>pressure</code> property of the <code>PointerEvent</code> object.</dd>
Expand Down