Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: Source/core/css/fullscreen.css

Issue 139743005: Replace RenderFullScreen with top layer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: needs baseline Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 :-webkit-full-screen { 1 :-webkit-full-screen {
2 background-color: white; 2 background-color: white;
3 z-index: 2147483647 !important; 3 }
4
5 *|*:not(:root):-webkit-full-screen {
esprehn 2014/01/21 18:59:05 remove the *|*, it's not needed and just complicat
falken 2014/01/22 06:08:02 This was taken directly from the Fullscreen API sp
6 position: fixed;
7 top: 0;
8 right: 0;
9 bottom: 0;
10 left: 0;
11 margin: 0;
12 box-sizing: border-box;
13 width: 100%;
14 height: 100%;
esprehn 2014/01/21 18:59:05 Why are you stretching the element to 100% size? I
falken 2014/01/22 06:08:02 It's taken from the spec. IE 11 also follows the s
15 object-fit: contain;
16 }
17
18 :-webkit-full-screen::backdrop {
19 position: fixed;
20 top: 0;
21 right: 0;
22 bottom: 0;
23 left: 0;
24 background: black;
4 } 25 }
5 26
6 :root:-webkit-full-screen-document:not(:-webkit-full-screen), :root:-webkit-full -screen-ancestor { 27 :root:-webkit-full-screen-document:not(:-webkit-full-screen), :root:-webkit-full -screen-ancestor {
7 overflow: hidden !important; 28 overflow: hidden !important;
8 } 29 }
9 30
10 :-webkit-full-screen-ancestor:not(iframe) { 31 :-webkit-full-screen-ancestor:not(iframe) {
11 z-index: auto !important; 32 z-index: auto !important;
12 position: static !important; 33 position: static !important;
13 opacity: 1 !important; 34 opacity: 1 !important;
(...skipping 26 matching lines...) Expand all
40 iframe:-webkit-full-screen { 61 iframe:-webkit-full-screen {
41 margin: 0 !important; 62 margin: 0 !important;
42 padding: 0 !important; 63 padding: 0 !important;
43 border: 0 !important; 64 border: 0 !important;
44 position: fixed !important; 65 position: fixed !important;
45 height: 100% !important; 66 height: 100% !important;
46 width: 100% !important; 67 width: 100% !important;
47 left: 0 !important; 68 left: 0 !important;
48 top: 0 !important; 69 top: 0 !important;
49 } 70 }
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.h » ('j') | Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698