OLD | NEW |
---|---|
1 :-webkit-full-screen { | 1 :-webkit-full-screen { |
2 background-color: white; | 2 background-color: white; |
3 z-index: 2147483647 !important; | 3 z-index: 2147483647 !important; |
4 } | 4 } |
falken
2013/07/09 12:50:22
Ideally the above can be removed. But there is som
| |
5 | 5 |
6 *|*:not(:root):-webkit-full-screen { | |
7 position: fixed; | |
8 top: 0; | |
9 right: 0; | |
10 bottom: 0; | |
trchen
2013/07/18 22:26:29
nits: Over-constrained. Right and bottom will be i
falken
2013/07/22 17:51:44
Good point. I'll file a bug with the spec as this
| |
11 left: 0; | |
12 margin: 0; | |
13 box-sizing: border-box; | |
14 width: 100%; | |
15 height: 100%; | |
16 object-fit: contain; | |
17 } | |
18 | |
19 :-webkit-full-screen::backdrop { | |
20 position: fixed; | |
21 top: 0; | |
22 right: 0; | |
23 bottom: 0; | |
24 left: 0; | |
25 background: black; | |
26 } | |
27 | |
falken
2013/07/09 12:50:22
These two are straight from the spec (:fullscreen
| |
6 :root:-webkit-full-screen-document:not(:-webkit-full-screen), :root:-webkit-full -screen-ancestor { | 28 :root:-webkit-full-screen-document:not(:-webkit-full-screen), :root:-webkit-full -screen-ancestor { |
7 overflow: hidden !important; | 29 overflow: hidden !important; |
8 } | 30 } |
9 | 31 |
10 :-webkit-full-screen-ancestor:not(iframe) { | 32 :-webkit-full-screen-ancestor:not(iframe) { |
11 z-index: auto !important; | 33 z-index: auto !important; |
12 position: static !important; | 34 position: static !important; |
13 opacity: 1 !important; | 35 opacity: 1 !important; |
14 -webkit-transform: none !important; | 36 -webkit-transform: none !important; |
15 -webkit-mask: none !important; | 37 -webkit-mask: none !important; |
(...skipping 24 matching lines...) Expand all Loading... | |
40 iframe:-webkit-full-screen { | 62 iframe:-webkit-full-screen { |
41 margin: 0 !important; | 63 margin: 0 !important; |
42 padding: 0 !important; | 64 padding: 0 !important; |
43 border: 0 !important; | 65 border: 0 !important; |
44 position: fixed !important; | 66 position: fixed !important; |
45 height: 100% !important; | 67 height: 100% !important; |
46 width: 100% !important; | 68 width: 100% !important; |
47 left: 0 !important; | 69 left: 0 !important; |
48 top: 0 !important; | 70 top: 0 !important; |
49 } | 71 } |
OLD | NEW |