-
Notifications
You must be signed in to change notification settings - Fork 33
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
Notes with normative (SHOULD/MUST) statements #405
Comments
We (Microsoft Edge) would be supportive of adjusting the wording of the pointerId note. Specifically, the pen/stylus as an 'Active Pointer' even when the pen is moved away from the digitizer and requiring it to be considered the same 'Active Pointer' on re-entry into the proximity space of the digitizer. This would enable a scenario where a User Agent can use the same pointerId for the same physical pen for multi-pen experiences. |
@bmathwig I assume you mean turning the note https://w3c.github.io/pointerevents/#dom-pointerevent-pointerid into normative prose (i.e. removing the note markup around it). Which I think is appropriate/acceptable (don't think we say anything majorly controversial in that section, and we do have the MUST there which needs to be dealt with, and making the whole section normative does that. |
adding my takes here for each of the mentioned notes:
|
[edit: moved to the thread starter] |
Thanks @bmathwig, yes that's a useful use-case we need to support. IIRC we faced issues with detecting the "same physical pen" in the past. Moving a pen off the digitizer range then bringing in a different pen made the second pen indistinguishable from the first one. Didn't investigate if it was caused by a limitation in the hardware or the device driver or the OS (FYI it was several years ago, we used Windows Surface). If a low-level unique pen-id is available these days, that's all we need. Also note that we don't have to maintain the removed pen as an "active pointer" to support this use case. In fact, maintaining a pen as "forever active" like this would be problematic when the pen has no chance of coming back (say its battery died): if the "dead" pen was the first pen seen by the digitizer, by definition it would remain the primary pointer forever and a replacement pen won't ever produce compatibility mouse events (as a non-primary device of type "pen"). |
we had some initial discussions on the first two notes in today's meeting - will do a PR (or two separate PRs even) specifically for those notes, bat them away individually rather than as a single monolithic PR https://www.w3.org/2021/09/01-pointerevents-minutes.html#t02 |
* Make note about buttons/buttons and compat events normative x-ref #405 * Change SHOULD to MUST
* Move elements of `pointerId` informative note to normative text x-ref #405 https://www.w3.org/2021/09/01-pointerevents-minutes.html#t02 * Completely rejig pointerId explanation while more verbose, this is an attempt to just explain a bit more what we're trying to do here (prevent tracking/fingerprinting, while also trying to allow some kind of "persistent" pointerId for collaborative scenarios with multiple users, for the lifetime of the page) * Be more explicit about value for primary mouse pointer
"second note in https://w3c.github.io/pointerevents/#dfn-active-pointer" discussed in meeting today, agreed that the note is now redundant (and wrong). will remove it |
from today's meeting:
|
…ents more definitive not just "certain" compat mouse events. also remove stray spaces. x-ref #405
@flackr reminder of this
|
#418) * Move the statement that click/contextmenu are NOT compat mouse events out of note and into normative part of the spec * Make statement about canceling pointerdown to prevent compat mouse events more definitive not just "certain" compat mouse events. also remove stray spaces. x-ref #405 * Remove unnecessary mention of PREVENT MOUSE EVENT in default action table * Tweak the compat mouse events clarification of click/contextmenu
however, we have a few instances of notes that contain MAY, SHOULD, SHOULD NOT, MUST.
pointerId
informative note to normative text #411pointerId
"). however, this is in the glossary, which by definition is non-normative. should this be moved somewhere else / into the normative text/interface definition? also, what does that second note actually try to say? Remove redundant (and now wrong) note about active pointer id #417We can either decide that these can be changed into "soft" requirements (and either lowercase or avoid those BCP14 keywords), or we must turn those notes into normative prose.
The text was updated successfully, but these errors were encountered: