fullscreen
fullscreen copied to clipboard
Pre-apply orientation lock via FullscreenOptions
Seeking feedback on this draft proposal from implementers and community at large.
The potential advantages with this proposal are numerous:
- Potentially smoother visual transition when switching to fullscreen.
- Releasing the orientation is explicitly tied to exiting fullscreen (per #202)
- Easier to use than Screen Orientation Lock API, while also working together with it (via events, and also allowing orientation changes after going fullscreen).
Usage example:
document.documentElement.requestFullscreen({ orientation: "landscape" });
Addresses #186
- [ ] At least two implementers are interested (and none opposed):
- …
- …
- [ ] Tests are written and can be reviewed and commented upon at:
- …
- [ ] Implementation bugs are filed:
- Chromium: …
- Gecko: …
- WebKit: …
- [ ] MDN issue is filed: …
(See WHATWG Working Mode: Changes for more details.)
@marcoscaceres is this something you'd still like to pursue? Is there implementer interest?