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

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

Issue 221333002: Fix an issue that webkit-transform might impact fullscreen video (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add layout test result for virtual/android due to the special flag we added earlier Created 6 years, 8 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
« no previous file with comments | « LayoutTests/virtual/android/fullscreen/video-webkit-transform-expected.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
5 5
6 :root:-webkit-full-screen-document:not(:-webkit-full-screen), :root:-webkit-full -screen-ancestor { 6 :root:-webkit-full-screen-document:not(:-webkit-full-screen), :root:-webkit-full -screen-ancestor {
7 overflow: hidden !important; 7 overflow: hidden !important;
8 } 8 }
9 9
10 :-webkit-full-screen-ancestor:not(iframe) { 10 :-webkit-full-screen-ancestor:not(iframe) {
(...skipping 13 matching lines...) Expand all
24 video:-webkit-full-screen, audio:-webkit-full-screen { 24 video:-webkit-full-screen, audio:-webkit-full-screen {
25 background-color: transparent !important; 25 background-color: transparent !important;
26 position: relative !important; 26 position: relative !important;
27 left: 0 !important; 27 left: 0 !important;
28 top: 0 ! important; 28 top: 0 ! important;
29 margin: 0 !important; 29 margin: 0 !important;
30 height: 100% !important; 30 height: 100% !important;
31 width: 100% !important; 31 width: 100% !important;
32 flex: 1 !important; 32 flex: 1 !important;
33 display: block !important; 33 display: block !important;
34 -webkit-transform: none !important;
34 } 35 }
35 36
36 img:-webkit-full-screen { 37 img:-webkit-full-screen {
37 width: auto; 38 width: auto;
38 height: 100%; 39 height: 100%;
39 max-width: 100%; 40 max-width: 100%;
40 } 41 }
41 42
42 iframe:-webkit-full-screen { 43 iframe:-webkit-full-screen {
43 margin: 0 !important; 44 margin: 0 !important;
44 padding: 0 !important; 45 padding: 0 !important;
45 border: 0 !important; 46 border: 0 !important;
46 position: fixed !important; 47 position: fixed !important;
47 height: 100% !important; 48 height: 100% !important;
48 width: 100% !important; 49 width: 100% !important;
49 left: 0 !important; 50 left: 0 !important;
50 top: 0 !important; 51 top: 0 !important;
51 } 52 }
OLDNEW
« no previous file with comments | « LayoutTests/virtual/android/fullscreen/video-webkit-transform-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698