Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark screen orientation lock as a mobile-only feature #1058

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions features/screen-orientation-lock.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Screen orientation lock
description: The `screen.orientation.lock()` method prevents changes to the screen orientation, typically in fullscreen applications such as games. For example, while locked, rotating a phone to the side won't change the screen orientation from landscape to portrait.
spec: https://w3c.github.io/screen-orientation/#lock-method
status:
baseline: false
support:
chrome: "N/A"
chrome_android: "38"
edge: "N/A"
firefox: "N/A"
safari: "N/A"
compat_features:
- api.ScreenOrientation.lock
- api.ScreenOrientation.unlock
Loading