Contact emails
Spec
Summary
Allow web pages to request fullscreen while an orientation change event handler is running. This will allow pages to go fullscreen when the user turn their device.
Motivation
It is a fairly common user experience on native applications to go fullscreen in landscape mode and not fullscreen in portrait mode. Websites can't implement the same behaviour on the mobile web.
Interoperability and Compatibility Risk
Firefox: public support
Edge: no public signal but positive signal when reaching out
Safari: no public signal
Web Developers: Positive
We have been able to get feedback (public or private) from all browsers apart from Safari. However, Safari doesn't implement Fullscreen API nor Screen Orientation API on mobile so all browsers implementing the involved APIs are supportive. All the specifications have been changed accordingly.
Worth noting that the orientation change event is received by the page after the application has changed orientation so the fullscreen request will happen on the following frame, creating a potentially visible transition. This is not perceptible on builds we have but more importantly, browser vendors we reached out to were fine with the compromise. We could fix the issue by creating new APIs that could potentially make the transition smooth but Chrome couldn't implement this today so designing such an API wouldn't make sense. Other browsers didn't seem interested either. It seems that vendors are in agreement that the perfect is the enemy of good here.
Ongoing technical constraints
No.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes. However, orientation changes are pretty much mobile-specific. It should work on Windows tablets, for example.
OWP launch tracking bug
Link to entry on the feature dashboard
Requesting approval to ship?
Yes.
Cheers,
-- Mounir