[whatwg] Fullscreen feedback
Robert O'Callahan
robert at ocallahan.org
Fri Aug 20 19:25:24 PDT 2010
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.
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/20100821/74855b26/attachment-0002.htm>
More information about the whatwg
mailing list