W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Fullscreen events dispatched to elements

From: Vincent Scheib <scheib@google.com>
Date: Fri, 1 Jun 2012 16:19:27 -0700
Message-ID: <CAK-EfXnpmQO6FhcqQ5mfPcPZmjNPT-SSUvuV6DfsSnV9kxuMWA@mail.gmail.com>
To: Webapps WG <public-webapps@w3.org>, Anne van Kesteren <annevk@opera.com>, Jer Noble <jer.noble@apple.com>, whatwg <whatwg@lists.whatwg.org>, "Robert O'Callahan" <robert@ocallahan.org>
I'm currently implementing Pointer Lock [1] in WebKit, which was
adjusted recently to mimic Fullscreen [2].

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
the document).

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
Robert O'Callahan.

[1] http://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html
[2] http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html
Received on Friday, 1 June 2012 23:20:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT