[whatwg] Fullscreen events dispatched to elements
robert at ocallahan.org
Mon Jun 4 23:23:14 PDT 2012
On Tue, Jun 5, 2012 at 5:57 PM, Jer Noble <jer.noble at 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, which required that behavior, no.
>  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
“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]
More information about the whatwg