[whatwg/fullscreen] DRAFT PROPOSAL: Pre-apply orientation lock via FullscreenOptions (PR #207)

Seeking feedback on this draft proposal from implementers. 

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). 

Addresses #186 

<!--
Thank you for contributing to the Fullscreen API Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [ ] At least two implementers are interested (and none opposed):
   * …
   * …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * …
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: …
   * Gecko: …
   * WebKit: …
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/fullscreen/207.html" title="Last updated on Nov 1, 2022, 3:28 AM UTC (4c4404a)">Preview</a> | <a href="https://whatpr.org/fullscreen/207/38e9b40...4c4404a.html" title="Last updated on Nov 1, 2022, 3:28 AM UTC (4c4404a)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fullscreen/pull/207


-- Commit Summary --

  * Pre-apply orientation lock via FullscreenOptions

-- File Changes --

    M fullscreen.bs (9)

-- Patch Links --

https://github.com/whatwg/fullscreen/pull/207.patch

https://github.com/whatwg/fullscreen/pull/207.diff


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/pull/207

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fullscreen/pull/207@github.com>

Received on Tuesday, 1 November 2022 03:28:58 UTC