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

[whatwg] Fullscreen

From: Eric Carlson <eric.carlson@apple.com>
Date: Sat, 15 Oct 2011 13:05:34 -0700
Message-ID: <B253431E-FFE1-4BFC-8B8E-4F4D5C7EE0C9@apple.com>

On Oct 15, 2011, at 2:05 AM, Olli Pettay wrote:

> On 10/15/2011 07:27 AM, Anne van Kesteren wrote:
>> 
>> I went with "fullscreen" rather than "full screen" as that seemed
>> cleaner and easier to type. I also used "enter" and "exit" rather than
>> "request" and "cancel" as they seemed somewhat nicer too. I'm less
>> attached to this latter change though.
> 
> To me "enterFullscreen()" sounds like something which couldn't fail.
> "requestFullscreen()" is closer to what actually happens: script asks
> UA to go to fullscreen mode, but it may fail if user or UA for some
> reason denies the request.
> 
  I agree. "requestFullscreen" describes what happens much more accurately.

eric
Received on Saturday, 15 October 2011 13:05:34 UTC

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