[whatwg/fullscreen] Allow fullscreen on already fullscreen elements without user activation (#193)

@mustaqahmed requested that I file an issue for this.

In [this text](https://fullscreen.spec.whatwg.org/#:~:text=pending%E2%80%99s%20relevant%20global%20object%20has%20transient%20activation%20or%20the%20algorithm%20is%20triggered%20by%20a%20user%20generated%20orientation%20change), I'm proposing that we add some text that requesting fullscreen on an already fullscreened element does not require nor consume user activation.  This is currently how Chrome behaves, and so clarifying this text would be useful.

Additionally, as a part of [window placement](https://github.com/webscreens/window-placement/blob/main/EXPLAINER.md), we would like to extend `requestFullscreen` to have an additional screen parameter to open up fullscreen on a different display.  Rerequesting fullscreen with a different screen will move the window to another screen (preserving fullscreen).  Having this text would allow us to not require user activation for this behavior, solving [this bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1218483).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/193

Received on Thursday, 17 June 2021 19:01:17 UTC