1,295
edits
Changes
→Proposed Specification
* :full-screen-document
While a Document is in the fullscreen state, the 'full-screen-document' pseudoclass applies to the root element all elements of that Document.
Suggested UA stylesheet rule:
/* In fullscreen mode, if the root element itself is not fullscreen then
we should hide the viewport scrollbar. */
:root:full-screen-document:not(:full-screen) {
overflow:hidden;
}