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

Should the fullscreen pre-lock condition also check for a pending fullscreen request? #254

Open
EdgarChen opened this issue Jan 10, 2025 · 0 comments

Comments

@EdgarChen
Copy link

In Spec, the fullscreen pre-lock condition only mentions

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

in 9. Interaction with Fullscreen API.

However, Chrome also allows the lock when there is pending fullscreen request, there was a webcompat report for this, so Gecko adopted the same behavior in bug 1744288. As some pages already rely on this behavior, perhaps we should define it more clearly into spec? If so, the spec should also define how to handle the lock if the pending fullscreen request is rejected.

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