[whatwg] Fullscreen feedback
Robert O'Callahan
robert at ocallahan.org
Sun Aug 22 23:33:06 PDT 2010
On Mon, Aug 23, 2010 at 5:25 PM, Adam Barth <w3c at adambarth.com> wrote:
> So... The trade-off is:
>
> 1) Only browsing contexts can go full-screen (since they have URLs
> that we could display).
> 2) Any element can go full-screen, but we'll need to add a nasty
> non-semantic attribute.
>
Is "allowfullscreen" really less semantic than "sandbox"?
Actually one option here is to only allow sandboxed iframes to go
fullscreen, deny fullscreen to sandboxed iframes by default, and provide a
sandbox token (e.g. "allow-fullscreen") that allows fullscreen. So you could
add sandbox="allow-scripts allow-fullscreen" to a video embedding IFRAME.
Another idea is that we could let any element go full-screen, but then
> we'd show the URL of its browsing context. There's some subtleties
> here about overlays from parent frames, but those seem solvable.
>
Doable, but maybe painful to implement, and there are numerous spec and UI
issues to do with navigation, history, etc.
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/20100823/2ae8a3b9/attachment-0002.htm>
More information about the whatwg
mailing list