Closed marcoscaceres closed 2 years ago
Duplicate of https://github.com/whatwg/fullscreen/issues/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.
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.