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

Side by Side Diff: LayoutTests/animations/change-transform-style-during-animation.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 <style> 4 <style>
5 #container { 5 #container {
6 -webkit-transform: translateZ(0px); 6 transform: translateZ(0px);
7 -webkit-perspective: 400; 7 -webkit-perspective: 400;
8 } 8 }
9 9
10 #revealed { 10 #revealed {
11 position: absolute; 11 position: absolute;
12 left: 100px; 12 left: 100px;
13 height: 100px; 13 height: 100px;
14 width: 100px; 14 width: 100px;
15 background-color: green; 15 background-color: green;
16 } 16 }
17 17
18 #animated { 18 #animated {
19 position: absolute; 19 position: absolute;
20 left: 100px; 20 left: 100px;
21 height: 100px; 21 height: 100px;
22 width: 100px; 22 width: 100px;
23 background-color: red; 23 background-color: red;
24 -webkit-transform: translateZ(10px); 24 transform: translateZ(10px);
25 -webkit-transform-style: preserve-3d; 25 -webkit-transform-style: preserve-3d;
26 -webkit-animation-duration: 100ms; 26 -webkit-animation-duration: 100ms;
27 -webkit-animation-fill-mode: both; 27 -webkit-animation-fill-mode: both;
28 -webkit-animation-timing-function: linear; 28 -webkit-animation-timing-function: linear;
29 -webkit-animation-iteration-count: 1; 29 -webkit-animation-iteration-count: 1;
30 } 30 }
31 31
32 @-webkit-keyframes anim { 32 @-webkit-keyframes anim {
33 from { -webkit-transform: translateZ(0px) translateX(0px); } 33 from { transform: translateZ(0px) translateX(0px); }
34 to { -webkit-transform: translateZ(200px) translateX(-200px); } 34 to { transform: translateZ(200px) translateX(-200px); }
35 } 35 }
36 </style> 36 </style>
37 37
38 <script src="resources/animation-test-helpers.js"></script> 38 <script src="resources/animation-test-helpers.js"></script>
39 <script> 39 <script>
40 if (window.testRunner) { 40 if (window.testRunner) {
41 testRunner.waitUntilDone(); 41 testRunner.waitUntilDone();
42 } 42 }
43 43
44 function animationDone() 44 function animationDone()
(...skipping 27 matching lines...) Expand all
72 </script> 72 </script>
73 </head> 73 </head>
74 <body onload="startTest()"> 74 <body onload="startTest()">
75 <div id="container"> 75 <div id="container">
76 <div id="revealed"></div> 76 <div id="revealed"></div>
77 <div id="animated"></div> 77 <div id="animated"></div>
78 </div> 78 </div>
79 <div id="result"></div> 79 <div id="result"></div>
80 </body> 80 </body>
81 </html> 81 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698