1,295
edits
Line 93: | Line 93: | ||
Suggested UA stylesheet rule: | Suggested UA stylesheet rule: | ||
*:full-screen { | *:full-screen { | ||
position:fixed; | |||
top:0; | |||
left:0; | |||
right:0; | |||
bottom:0; | |||
z-index:2147483647; | |||
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'. |
edits