Gecko:FullScreenAPI: Difference between revisions

Line 123: Line 123:
While a Document is in the full-screen state, and the document's current full-screen element is an element in the document, the 'full-screen-ancestor' pseudoclass applies to ancestors of the full-screen element.
While a Document is in the full-screen state, and the document's current full-screen element is an element in the document, the 'full-screen-ancestor' pseudoclass applies to ancestors of the full-screen element.


==== full-screen media query  ====
== view-mode ==
New CSS media query selector:


* <code>full-screen</code>
http://www.w3.org/TR/view-mode/ introduces a "view-mode" media feature with possible value "fullscreen". That should be implemented alongside the rest of this specification.
 
that accepts two states:
 
* <code>on</code>
* <code>off</code>
 
Note from fantasai: http://www.w3.org/TR/view-mode/ covers this already
 
While a Document is in the full-screen state, the full-screen media type is active for the document.


==== UA stylesheet rules ====
==== UA stylesheet rules ====
1,295

edits