[whatwg] Feedback on the Mozilla FullScreen API proposal

John Harding jharding at google.com
Sun Aug 8 21:49:27 PDT 2010

Fullscreen support for specific elements is more than just a convenience -
it's fairly common to have multiple elements on a page that could be made to
go fullscreen, such as a page with multiple video players.  For YouTube,
we've chosen to put our embeddable player within an <iframe>, but I imagine
some others will directly inline their player content.

Mike, regarding your suggestions of element-level allow/deny attributes, I'm
not sure I see how this can work.  The root problem in your examples is that
the page author is allowing untrusted content in their page.  Ads should be
sandboxed from the rest of the page for more than just prevention of


On Fri, Aug 6, 2010 at 3:34 PM, Robert O'Callahan <robert at ocallahan.org>wrote:

> On Sat, Aug 7, 2010 at 1:57 AM, Mike Wilcox <mike at mikewilcox.net> wrote:
>> Regarding fullscreen elements: I appreciate the initiative, but I wonder
>> if it's necessary to allow fullscreen at the element level?
> It's not necessary, but it's a very useful convenience. It also allows the
> UA to perform transition effects that are impossible just at the author
> level.
> I think Simon is already pointing out potential gotchas. What exactly is
>> the difference between a fullscreen-element and a fullscreen-page that has
>> an element in absolutely position, top z-index, at 100% width and height?
> Nothing; see the proposed UA style sheet additions in the spec.
>> As a developer, after entering fullscreen I could possibly do a fancy
>> transition of the element to take up 100%.
> You can't do it as well as the UA can, because a really good transition
> effect involves desktop-level effects that authors don't have access to. For
> example you might want part of the window to zoom out and cover the entire
> screen, semi-transparent over the desktop while zooming.
> I would disrecommend authors trying to create custom transition effects
> that depend on geometry; they probably won't work across browsers because
> they'll interfere with the UA's effects.
> Rob
> --
> "Now the Bereans were of more noble character than the Thessalonians, for
> they received the message with great eagerness and examined the Scriptures
> every day to see if what Paul said was true." [Acts 17:11]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100808/5a0a6f87/attachment-0002.htm>

More information about the whatwg mailing list