w3c / pointerlock

Pointer Lock
https://w3c.github.io/pointerlock/
Other
17 stars 16 forks source link

Section 2.1 should mention the effect of lock on PointerEvents #97

Open mustaqahmed opened 5 months ago

mustaqahmed commented 5 months ago

This came up in this thread on https://github.com/w3c/pointerlock/pull/49:

Would it be possible to list these events normatively, instead of only giving some examples?

I think the current text is OK, because the lack of precision here is just a symptom of the larger lack of precision in how mouse events are specified in general. Some progress is being made there, in w3c/uievents#200, and if that lands then eventually this paragraph can move into the UI events spec as an actual change to the processing model.

But in the meantime, it would help achieve interoperability if you were precise about the list of events.

For example, it's not clear to me whether pointer events are impacted by this change.

masayuki-nakano commented 3 months ago

FYI: This test (for Pointer Events) expects that lostpointercapture, pointerout and pointerleave are fired on the capturing element before the pointer lock and pointerover and pointerenter are fired on the pointer locking element.

Sorry for the spam. The test is not related to the pointerlock. I was confused with other tests which I'm currntly debugging.