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

Side by Side Diff: LayoutTests/fullscreen/full-screen-stacking-context.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 var runPixelTests = true; 5 var runPixelTests = true;
6 6
7 function init() { 7 function init() {
8 waitForEventAndEnd(document, 'webkitfullscreenchange'); 8 waitForEventAndEnd(document, 'webkitfullscreenchange');
9 runWithKeyDown(goFullScreen); 9 runWithKeyDown(goFullScreen);
10 } 10 }
11 11
12 function goFullScreen() { 12 function goFullScreen() {
13 document.getElementById('video').webkitRequestFullScreen(); 13 document.getElementById('video').webkitRequestFullScreen();
14 } 14 }
15 </script> 15 </script>
16 <script src="full-screen-test.js"></script> 16 <script src="full-screen-test.js"></script>
17 <style> 17 <style>
18 #one { 18 #one {
19 width: 100px; 19 width: 100px;
20 height: 100px; 20 height: 100px;
21 position: relative; 21 position: relative;
22 top: 50px; 22 top: 50px;
23 left: 50px; 23 left: 50px;
24 z-index: 1; 24 z-index: 1;
25 background-color: red; 25 background-color: red;
26 } 26 }
27 #one, #two { 27 #one, #two {
28 opacity: 0.5; 28 opacity: 0.5;
29 -webkit-transform: rotate(180); 29 transform: rotate(180);
30 -webkit-mask: -webkit-linear-gradient(left, alpha 0%, white 100% ); 30 -webkit-mask: -webkit-linear-gradient(left, alpha 0%, white 100% );
31 -webkit-filter: contrast(100%); 31 -webkit-filter: contrast(100%);
32 clip:rect(0px,100px,100px,0px); 32 clip:rect(0px,100px,100px,0px);
33 -webkit-box-reflect: below; 33 -webkit-box-reflect: below;
34 -webkit-transform-style: preserve-3d; 34 -webkit-transform-style: preserve-3d;
35 -webkit-perspective: 300; 35 -webkit-perspective: 300;
36 } 36 }
37 #zero { 37 #zero {
38 position: relative; 38 position: relative;
39 z-index: 0; 39 z-index: 0;
40 } 40 }
41 #video { 41 #video {
42 width: 200px; 42 width: 200px;
43 height: 200px; 43 height: 200px;
44 background-color: black; 44 background-color: black;
45 } 45 }
46 </style> 46 </style>
47 </head> 47 </head>
48 <body onload="init()"> 48 <body onload="init()">
49 <div>This tests that a full screen element in a lower stacking context b locks a sibling in a higher stacking context. 49 <div>This tests that a full screen element in a lower stacking context b locks a sibling in a higher stacking context.
50 After entering full screen mode, only a black box should be visible . 50 After entering full screen mode, only a black box should be visible .
51 Click <button onclick="goFullScreen()">go full screen</button> to r un the test.</div> 51 Click <button onclick="goFullScreen()">go full screen</button> to r un the test.</div>
52 <div id="one"></div> 52 <div id="one"></div>
53 <div id="zero"> 53 <div id="zero">
54 <video id="video"></video> 54 <video id="video"></video>
55 </div> 55 </div>
56 </body> 56 </body>
57 </html> 57 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/transforms/transforms-with-zoom.html ('k') | LayoutTests/fullscreen/video-webkit-transform.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698