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

Specify .lock() / .unlock() dependency on fullscreen API #209

Closed
marcoscaceres opened this issue Oct 7, 2022 · 1 comment
Closed

Specify .lock() / .unlock() dependency on fullscreen API #209

marcoscaceres opened this issue Oct 7, 2022 · 1 comment

Comments

@marcoscaceres
Copy link
Member

It's currently not possible to use this API without first requesting fullscreen across all user agents, so we should just codify this in the spec.

The advantage would be to allow fullscreen API to unlock the screen automatically when full screen is lost.

@marcoscaceres
Copy link
Member Author

Duplicate of whatwg/fullscreen#202

The lock() dependency is also handled in
https://w3c.github.io/screen-orientation/#fullscreen-interaction

A user agent SHOULD restrict the use of lock() to simple fullscreen documents as a pre-lock condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant