W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2012

Re: [whatwg] Fullscreen events dispatched to elements

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 5 Jun 2012 18:23:14 +1200
Message-ID: <CAOp6jLZ2KbdyRTRs+tKZSWmo=b8sjg-BWouEPz=A9a47XZ=FDQ@mail.gmail.com>
To: Jer Noble <jer.noble@apple.com>
Cc: whatwg <whatwg@lists.whatwg.org>, Chris Pearce <cpearce@mozilla.com>, Anne van Kesteren <annevk@opera.com>, Webapps WG <public-webapps@w3.org>, Vincent Scheib <scheib@google.com>
On Tue, Jun 5, 2012 at 5:57 PM, Jer Noble <jer.noble@apple.com> wrote:

> > 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

If you implemented that proposal as-is then authors would usually need a
listener on the document as well as the element, and as Chris pointed out,
it's simpler to just always listen on the document.

Is that true for the Webkit implementation or did you implement something
slightly different?

“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]
Received on Tuesday, 5 June 2012 06:23:46 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC