[whatwg] api for fullscreen()

Robert O'Callahan robert at ocallahan.org
Mon Feb 1 14:38:00 PST 2010

On Tue, Feb 2, 2010 at 10:41 AM, Brian Campbell <lambda at continuation.org>wrote:

> I'm a bit concerned about when the fullscreen events and styles apply,
> though. If the page can tell whether or not the user has actually allowed it
> to enter fullscreen mode, it can refuse to display content until the user
> gives it permission to enter fullscreen mode. Or even if it's not refusing
> to display content, it may simply not scale the content up to the full
> window if the user neglects to give permission for full screen.

We could simply modify the proposal to apply the fullscreen pseudoclass (but
not fullscreen the window) if permission is denied. However, in general I
don't think we can prevent Web content from detecting that it is not
fullscreen. For example it could check whether the window size is one of a
set of common screen sizes.

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100202/da83943f/attachment-0002.htm>

More information about the whatwg mailing list