Re: [PointerLock] Should there be onpointerlockchange/onpointerlockerror properties defined in the spec

[Including Anne & Tantek due to their work on Fullscreen]

The pointer lock specification intentionally mimics the fullscreen
specification to provide consistency for developers, as they are similar
and expected to be commonly used in the same apps. Neither specification
mention event properties.

Mozilla and Chrome implement
document.on<prefix>fullscreenchange
document.on<prefix>fullscreenerror
document.on<prefix>pointerlockchange
document.on<prefix>pointerlockerror

Pending agreement to add properties to the fullscreen specification, I
agree this should be included in the specification.

On Thu, Jan 10, 2013 at 9:24 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> And if so, which objects should they be on?  Window?  Documents?  Elements?
>
> -Boris
>
>

Received on Thursday, 10 January 2013 18:20:56 UTC