Gecko:FullScreenAPI: Difference between revisions

→‎Proposed Specification: compressed whitelist, noted re-show warning for keys that don't generate key events
(→‎Proposed Specification: drafted Keypress whitelist)
(→‎Proposed Specification: compressed whitelist, noted re-show warning for keys that don't generate key events)
Line 33: Line 33:
* DOM_VK_SEMICOLON to DOM_VK_EQUALS, inclusive
* DOM_VK_SEMICOLON to DOM_VK_EQUALS, inclusive
* DOM_VK_MULTIPLY to DOM_VK_META, inclusive
* DOM_VK_MULTIPLY to DOM_VK_META, inclusive
Such events are not dispatched to any nodes in any document of the toplevel browsing context or descendant browsing contexts. This includes suppression of any internal key event processing that would insert text into form controls or editable content. The user agent might respond to such events by leaving full-screen mode.
Such events are not dispatched to any nodes in any document of the toplevel browsing context or descendant browsing contexts. This includes suppression of any internal key event processing that would insert text into form controls or editable content. The user agent might respond to such events by leaving full-screen mode (disputed, may be better to stay in full-screen mode and instead put up the in-fullscreen warning, "press esc to exit" etc.).


Keypress whitelist:
Keypress whitelist:
* arrow keys
* tab, space, arrow keys, page-up, page-down, home, end
* page-up, page-down, home, end
* shift, ctrl, alt/option, command
* shift, ctrl, alt/option, command
** and combinations thereof, with the above keys (except command/ctrl-tab)
** and combinations thereof, with the previous set of keys (except command/ctrl-tab)


Each document has an optional "current full-screen element".
Each document has an optional "current full-screen element".
canmove, Confirmed users
2,675

edits