Closed marcoscaceres closed 2 years ago
@mustaqahmed, looks like "activation triggering input event" vanished from HTML. Any idea what that should be now?
@mustaqahmed, looks like "activation triggering input event" vanished from HTML. Any idea what that should be now?
Sorry trying to understand what you meant by "vanished"...I can still see it here. Perhaps you meant a missing <dfn export>
instead, which is being added in https://github.com/whatwg/html/pull/6818?
Ah, indeed! I thought it was exported already! Sorry for the confusion on my part.
@marcoscaceres I got a chance to look at it again after a while, and now it seems to me we can significantly clarify the current dependence to HTML if we simply drop the "engagement gesture" section and fix the existing 5 references by:
requestPointerLock()
is a Transient activation-gated API, andThis change would make the text more precise, and as a bonus point, we will be able to land this PR independently from whatwg/html#6818.
What do you think?
sounds great, @mustaqahmed. The only thing would be getting "activation triggering input event" exported from HTML, but what you suggest makes sense.
Please consider the suggestion above without getting blocked by a holistic (and possibly involved) change needed on the HTML side. Landing the PointerLock change here before the HTML change would still be a big improvement because the current "engagement gesture" section is too incomplete anyway (it doesn't mention PointerEvents or TouchEvents, for example).
Related fix on the HTML side: https://github.com/whatwg/html/pull/6818
Preview | Diff