Changes

Jump to: navigation, search

Gecko:FullScreenAPI

8 bytes added, 23:05, 11 April 2011
Proposed Specification
New methods of Element:
* void requestFullScreenrequestFullScreenWithKeys()
The current fullscreen element for the document is set to this element.
Typically the user agent would react by transitioning the Document to the fullscreen state, or by presenting asynchronous confirmation UI and transitioning to the fullscreen state if/when the user responds affirmatively. However, the user agent is not required to do anything at all in response to requestFullScreen. The user agent's behavior is allowed to vary depending on whether requestFullScreen is called during a user event (e.g. a mouse click handler).
* void requestFullScreenWithKeysrequestFullScreen()
As requestFullScreenrequestFullScreenWithKeys, but hints to the UA that while in fullscreen state, the toplevel browsing context for this Document should have keys disabled. While keys are disabled, there may be a reduced risk of spoofing attacks inducing the user to input inappropriate data, and the UA may choose to relax restrictions on entering fullscreen state with keys disabled.
New DOM attribute of Document:
1,295
edits

Navigation menu