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

Side by Side Diff: LayoutTests/compositing/layer-creation/overlap-animation-clipping.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 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 .container { 6 .container {
7 height: 460px; 7 height: 460px;
8 width: 120px; 8 width: 120px;
9 overflow: hidden; 9 overflow: hidden;
10 position: relative; 10 position: relative;
11 left: 50px; 11 left: 50px;
12 z-index: 0; /* create stacking context */ 12 z-index: 0; /* create stacking context */
13 border: 1px solid black; 13 border: 1px solid black;
14 background-color: white; 14 background-color: white;
15 } 15 }
16 16
17 .box { 17 .box {
18 position: relative; 18 position: relative;
19 width: 100px; 19 width: 100px;
20 height: 100px; 20 height: 100px;
21 margin: 10px; 21 margin: 10px;
22 background-color: blue; 22 background-color: blue;
23 } 23 }
24 24
25 .force-layer { 25 .force-layer {
26 -webkit-transform: translateZ(1px); 26 transform: translateZ(1px);
27 } 27 }
28 28
29 .yellow { 29 .yellow {
30 background-color: yellow; 30 background-color: yellow;
31 } 31 }
32 32
33 .gray { 33 .gray {
34 background-color: gray; 34 background-color: gray;
35 } 35 }
36 36
37 .animating1 { 37 .animating1 {
38 -webkit-animation: translate1 2s linear infinite alternate; 38 -webkit-animation: translate1 2s linear infinite alternate;
39 } 39 }
40 40
41 .animating2 { 41 .animating2 {
42 -webkit-animation: translate2 2s linear infinite alternate; 42 -webkit-animation: translate2 2s linear infinite alternate;
43 } 43 }
44 44
45 @-webkit-keyframes translate1 { 45 @-webkit-keyframes translate1 {
46 from { -webkit-transform: translate(0px, -110px); } 46 from { transform: translate(0px, -110px); }
47 to { -webkit-transform: translate(0px, 590px); } 47 to { transform: translate(0px, 590px); }
48 } 48 }
49 49
50 @-webkit-keyframes translate2 { 50 @-webkit-keyframes translate2 {
51 from { -webkit-transform: translate(0px, -220px); } 51 from { transform: translate(0px, -220px); }
52 to { -webkit-transform: translate(0px, 110px); } 52 to { transform: translate(0px, 110px); }
53 } 53 }
54 </style> 54 </style>
55 <script> 55 <script>
56 if (window.testRunner) { 56 if (window.testRunner) {
57 testRunner.dumpAsText(); 57 testRunner.dumpAsText();
58 testRunner.waitUntilDone(); 58 testRunner.waitUntilDone();
59 } 59 }
60 60
61 function queueBoxForAnimation(elementId, animationClass, callback) { 61 function queueBoxForAnimation(elementId, animationClass, callback) {
62 var box = document.getElementById(elementId); 62 var box = document.getElementById(elementId);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 <div class="box gray"></div> 108 <div class="box gray"></div>
109 <div id="to-animate2" class="box"></div> 109 <div id="to-animate2" class="box"></div>
110 <!-- This div will get a layer --> 110 <!-- This div will get a layer -->
111 <div class="box yellow"></div> 111 <div class="box yellow"></div>
112 </div> 112 </div>
113 <!-- This div will also get a layer --> 113 <!-- This div will also get a layer -->
114 <div class="box yellow"></div> 114 <div class="box yellow"></div>
115 <pre id="layers">Layer tree goes here in DRT</pre> 115 <pre id="layers">Layer tree goes here in DRT</pre>
116 </body> 116 </body>
117 </html> 117 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698