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

Side by Side Diff: LayoutTests/compositing/layer-creation/overlap-transformed-layer-with-transform-body.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 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 #container { 4 #container {
5 -webkit-transform: translate(-10px, 0px); 5 transform: translate(-10px, 0px);
6 } 6 }
7 7
8 #indicator { 8 #indicator {
9 position: absolute; 9 position: absolute;
10 left: 15px; 10 left: 15px;
11 top: 0px; 11 top: 0px;
12 height: 256px; 12 height: 256px;
13 width: 256px; 13 width: 256px;
14 background-color: red; 14 background-color: red;
15 } 15 }
16 16
17 #green { 17 #green {
18 position: absolute; 18 position: absolute;
19 left: 0px; 19 left: 0px;
20 top: 0px; 20 top: 0px;
21 width: 300px; 21 width: 300px;
22 height: 300px; 22 height: 300px;
23 background-color: green; 23 background-color: green;
24 } 24 }
25 25
26 #composited { 26 #composited {
27 position: absolute; 27 position: absolute;
28 left: 400px; 28 left: 400px;
29 -webkit-transform:translateZ(0); 29 transform:translateZ(0);
30 } 30 }
31 31
32 #layertree { 32 #layertree {
33 position: absolute; 33 position: absolute;
34 left: 10000px; 34 left: 10000px;
35 top: 0px; 35 top: 0px;
36 } 36 }
37 37
38 body { 38 body {
39 -webkit-transform:translateZ(0); 39 transform:translateZ(0);
40 overflow: hidden; 40 overflow: hidden;
41 } 41 }
42 42
43 </style> 43 </style>
44 44
45 <script> 45 <script>
46 if (window.testRunner) { 46 if (window.testRunner) {
47 testRunner.dumpAsTextWithPixelResults(); 47 testRunner.dumpAsTextWithPixelResults();
48 window.addEventListener('load', function() { 48 window.addEventListener('load', function() {
49 document.getElementById("layertree").innerText = window.internals.la yerTreeAsText(document); 49 document.getElementById("layertree").innerText = window.internals.la yerTreeAsText(document);
50 }, false); 50 }, false);
51 } 51 }
52 </script> 52 </script>
53 53
54 <body> 54 <body>
55 <div id="container"> 55 <div id="container">
56 <!-- This red square should not be visible --> 56 <!-- This red square should not be visible -->
57 <div id="indicator"></div> 57 <div id="indicator"></div>
58 <div id="composited"></div> 58 <div id="composited"></div>
59 </div> 59 </div>
60 60
61 <!-- This green square should render completely on top of the red one --> 61 <!-- This green square should render completely on top of the red one -->
62 <div id="green"></div> 62 <div id="green"></div>
63 63
64 <pre id="layertree"></pre> 64 <pre id="layertree"></pre>
65 </body> 65 </body>
66 </html> 66 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698