[whatwg] Fullscreen events dispatched to elements
Jer Noble
jer.noble at apple.com
Mon Jun 4 22:57:02 PDT 2012
On Jun 4, 2012, at 10:43 PM, Robert O'Callahan <robert at ocallahan.org> wrote:
> On Tue, Jun 5, 2012 at 9:13 AM, Jer Noble <jer.noble at apple.com> wrote:
> On Jun 1, 2012, at 6:45 PM, Chris Pearce <cpearce at mozilla.com> wrote:
>
> > Because we exit fullscreen when the fullscreen element is removed from the document, so if you dispatch events to the context element, the "fullscreenchange" event never bubbles up to the containing document in the exit-on-remove case.
>
> Actually, in WebKit, we explicitly also message the document from which the element was removed in that case. I don't see why this behavior couldn't be standardized.
>
> Did you inform the spec editor(s) when you decided to make this change? What did they say?
As it is a holdover from when we implemented the Mozilla Full Screen API proposal[1], which required that behavior, no.
-Jer
[1] https://wiki.mozilla.org/Gecko:FullScreenAPI#fullscreenchange_event
More information about the whatwg
mailing list