Gecko:FullScreenAPI: Difference between revisions

Jump to navigation Jump to search
Line 91: Line 91:
* :full-screen-document
* :full-screen-document


While a Document is in the fullscreen state, the 'full-screen-document' pseudoclass applies to the root element of that Document.
While a Document is in the fullscreen state, the 'full-screen-document' pseudoclass applies to all elements of that Document.


Suggested UA stylesheet rule:
Suggested UA stylesheet rule:
Line 108: Line 108:
  /* In fullscreen mode, if the root element itself is not fullscreen then
  /* In fullscreen mode, if the root element itself is not fullscreen then
     we should hide the viewport scrollbar. */
     we should hide the viewport scrollbar. */
  :full-screen-document:not(:full-screen) {
  :root:full-screen-document:not(:full-screen) {
   overflow:hidden;
   overflow:hidden;
  }
  }
1,295

edits

Navigation menu