Gecko:FullScreenAPI: Difference between revisions

Line 93: Line 93:
Suggested UA stylesheet rule:
Suggested UA stylesheet rule:


*:full-screen {
*:full-screen {
  position:fixed;
  position:fixed;
  top:0;
  top:0;
  left:0;
  left:0;
  right:0;
  right:0;
  bottom:0;
  bottom:0;
  z-index:2147483647;
  z-index:2147483647;
  background:black;
  background:black;
}
}


Note that it is still possible for a document to position content over an element with the :full-screen pseudo-class, for example if the :full-screen element is in a container with z-index not 'auto'.
Note that it is still possible for a document to position content over an element with the :full-screen pseudo-class, for example if the :full-screen element is in a container with z-index not 'auto'.
1,295

edits