Skip to content

Commit

Permalink
Change reserved pointerId for non-pointer events from 0 to -1
Browse files Browse the repository at this point in the history
Relates to #343
  • Loading branch information
patrickhlauke committed Jan 12, 2021
1 parent 83ca9a9 commit 1ed7c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -823,7 +823,7 @@ <h3>The <dfn><code>click</code>, <code>auxclick</code>, and <code>contextmenu</c
The type of these events MUST be <code>PointerEvent</code> but the dispatch process is going to match that of the original specification.
For these events, all <code>PointerEvent</code> specific attributes (defined in this spec) other than <code>pointerId</code> and <code>pointerType</code> will have their default values.
The <code>pointerId</code> and <code>pointertType</code> of these events MUST be the same as the PointerEvents that caused these events if they are generated by a pointing device.
If the events are generated by a non-pointing device (such as voice recognition software or a keyboard interaction), <code>pointerId</code> MUST be 0 and <code>pointerType</code> MUST be an empty string.</p>
If the events are generated by a non-pointing device (such as voice recognition software or a keyboard interaction), <code>pointerId</code> MUST be <code>-1</code> and <code>pointerType</code> MUST be an empty string.</p>
</section>
</section>
</section>
Expand Down

0 comments on commit 1ed7c4b

Please sign in to comment.