[whatwg] Fullscreen events dispatched to elements
scheib at google.com
Fri Jun 1 16:19:27 PDT 2012
I'm currently implementing Pointer Lock  in WebKit, which was
adjusted recently to mimic Fullscreen .
The Fullscreen specification calls for events to be dispatched to the
document, but the WebKit implementation dispatches fullscreenchange
and fullscreenerror events to the context element (and they bubble to
IMHO Pointer Lock would be more convenient to use if events are sent
to the target element as well, and not just the document.
Is there a reason the Fullscreen specification doesn't dispatch events
to the most relevant element? There is a related thread started on May
11th 2011 by Jer Noble where he proposes dispatching to the elements,
but the thread moves onto other topics. I don't see a resolution
regarding dispatching to elements other than early general approval by
More information about the whatwg