Changes

Jump to: navigation, search

Gecko:FullScreenAPI

294 bytes added, 23:19, 30 June 2010
Proposed Specification
While a Document is in the fullscreen state, and the document's current fullscreen element is an element in the document, the 'full-screen' pseudoclass applies to that element. Also, an <iframe>, <object> or <embed> element whose child browsing context's Document is in the fullscreen state has the 'full-screen' pseudoclass applied.
* :full-screen-rootdoc
While a Document is in the fullscreen state, the 'full-screen-doc' pseudoclass applies to the rootelement of that Document. * :full-screen-root-with-target While a Document is in the fullscreen state and the document's current fullscreen element is an element in the document, the 'full-screen-doc-with-target' pseudoclass applies to the root element of that Document.
Suggested UA stylesheet rule:
*:full-screen {
position:fixed;
top:0;
z-index:2147483647;
background:black;
}
:full-screen-root-with-target {
overflow:hidden;
}
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'.
== Examples ==
1,295
edits

Navigation menu