W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2011

[whatwg] Fullscreen revision I

From: Jeremy Apthorp <jeremya@chromium.org>
Date: Fri, 18 Nov 2011 10:31:23 +1100
Message-ID: <CACd8HaAU89+=fGp6YwsfawARXSqTdLzUEeByMA6dmHxG-Rbckw@mail.gmail.com>
Another thing: I've heard from developers that it would be useful to allow
popup windows to open in fullscreen mode. For example, in Google Docs
presentations, the 'start presentation' button should open a new window in
fullscreen, so that users can use the editor in the main Chrome window and
see the presentation in a separate (fullscreen) window.

I propose that window.open(url, name, "fullscreen=yes") should present the
given url as fullscreen in a new window. Exiting fullscreen in that window
(via cancelFullScreen or user action) should restore the window (if the
author wants it to close, they can call window.close() on the
fullscreenchange event).

Of course, the request should only succeed if the UA is processing a user
gesture.
Received on Thursday, 17 November 2011 15:31:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:09 UTC