W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Fullscreen feedback

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 21 Aug 2010 14:25:24 +1200
Message-ID: <AANLkTimKM7MXVf93AqdcrbWYSoCkmRFP6PzOfU95ZitA@mail.gmail.com>
On Sat, Aug 21, 2010 at 8:24 AM, Ian Hickson <ian at hixie.ch> wrote:

> One comment: Rather than adding an "allowfullscreen" attribute on
> <iframe>, I would suggest just assuing that sandboxed content (i.e.
> content of iframes with the sandbox="" attribute) can't go fullscreen. I
> can provide a sandbox flag for this state. If we think there are use cases
> for allowing sandboxed iframes to go fullscreen, then I can also add a
> keyword that turns off the flag when present (like "allow-scripts" does
> for scripts). (I'm assuming there are no cases for disabling fullscreen
> for unsandboxed iframes; are there?)

What about legacy content that doesn't use "sandbox"? It might expect
cross-origin IFRAMEs to not be able to take over its window, but if the
IFRAME content goes fullscreen, it effectively can.

I think allowing subframes to go fullscreen should always be opt-in.

"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/20100821/74855b26/attachment-0001.htm>
Received on Friday, 20 August 2010 19:25:24 UTC

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