[whatwg] Feedback on the Mozilla FullScreen API proposal

Anne van Kesteren annevk at opera.com
Thu Aug 5 23:15:00 PDT 2010

On Fri, 06 Aug 2010 00:17:54 +0200, Simon Fraser <smfr at me.com> wrote:
> or have some constants for behavior:
>     const unsigned short ALLOW_KEYBOARD_INPUT = 1;
>     void requestFullScreen(unsigned short behavior)
> This would be extensible, and would allow us to permit other
> behaviors later.

Can't we use a string then -- a space-separated list of tokens? Constants  
are somewhat icky to use in JavaScript and here you would have to use some  
trickery if you would actually want to request several kinds of behaviors  
using a single constant in the future.

Anne van Kesteren

More information about the whatwg mailing list