Re: [whatwg] Fullscreen events dispatched to elements

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?

Rob
-- 
“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:43 UTC