fullscreen
fullscreen copied to clipboard
Implementation without browser chrome
We had quite a bit of discussion in our group about how the fullscreen API works in devices like smart TVs that may run a chrome-less browser that is always full screen size. https://github.com/w3c/webmediaapi/issues/22
We did finally reach consensus that the fullscreen API should operate fine in this use case as currently specified.
I was asked to send a note that it might be useful for the fullscreen spec to informatively mention that an implementation without any browser chrome can just have the top level document's "normal" dimensions be the same as "the dimensions of the screen of the output device".
This situation is accounted for in the Chromium codebase, with the comment "We may have entered fullscreen mode without changing our size." here: https://cs.chromium.org/chromium/src/content/renderer/render_widget.cc?sq=package:chromium&dr=CSs&l=1233
In this situation, no resize event will be fired. However, there are two tests that assume the resize event: https://github.com/w3c/web-platform-tests/blob/master/fullscreen/api/document-exit-fullscreen-timing-manual.html https://github.com/w3c/web-platform-tests/blob/master/fullscreen/api/element-request-fullscreen-timing-manual.html
So, I agree that this should be clarified, and the test PR for the change should do something with at least those two tests.