Make note about UAs not firing compat events if they support touch events normative#413
Conversation
…ents normative x-ref #405
|
The linked normative text in the TouchEvent spec starts with a "may", so IMHO we need to avoid normative suppression of compat events here! I suggest keeping the note as is but with a "MAY" instead. |
|
we're trying to avoid MAY, SHOULD, etc inside non-normative notes though. i missed that touch event mouse events were MAY. so, here's a thought: change this (i'll have a think how exactly) to basically say that UAs SHOULD NOT generate both and leave it at that (and leave it up to UAs to decide what to do ... or is that too wooly?) |
|
Sounds good. Can we somehow highlight the possibility of duplicate event firing? I think it is possible to cover both specs using a single set of compact events (even with multi-touch because we care only about the primary touch pointer here), but the "may" on the other side makes it impossible to be precise.
|
|
Updated the wording per the above (noting that touch events aren't just for touch interactions, but also cover pen/stylus nowadays) |
mustaqahmed
left a comment
There was a problem hiding this comment.
Awesome, this looks great!
|
discussed in meeting today: change SHOULD NOT to MUST NOT, take out last sentence ", as a result of a touch or pen interaction." as it's redundant |
|
Made the edits discussed in meeting yesterday. Merging, as otherwise we were ok with this. |
|
The WPTS in pointerevents/compat/ folder asserts the correct number of compat mouse events, whether or not the UA supports Touch Events. |
x-ref #405
Preview | Diff