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

Side by Side Diff: LayoutTests/animations/animation-direction-normal-expected.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove duplicate transform 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 lang="en"> 1 <html lang="en">
2 <head> 2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4 <title>Test of -webkit-animation-direction</title> 4 <title>Test of -webkit-animation-direction</title>
5 <style type="text/css" media="screen"> 5 <style type="text/css" media="screen">
6 body { 6 body {
7 margin: 0; 7 margin: 0;
8 } 8 }
9 9
10 #box { 10 #box {
11 position: absolute; 11 position: absolute;
12 left: 0px; 12 left: 0px;
13 top: 100px; 13 top: 100px;
14 height: 100px; 14 height: 100px;
15 width: 100px; 15 width: 100px;
16 background-color: red; 16 background-color: red;
17 margin: 0; 17 margin: 0;
18 -webkit-transform: translateX(50px); 18 transform: translateX(50px);
19 } 19 }
20 #safezone { 20 #safezone {
21 position: absolute; 21 position: absolute;
22 top: 100px; 22 top: 100px;
23 height: 100px; 23 height: 100px;
24 width: 130px; 24 width: 130px;
25 left: 30px; 25 left: 30px;
26 background-color: green; 26 background-color: green;
27 } 27 }
28 </style> 28 </style>
29 </script> 29 </script>
30 </head> 30 </head>
31 <body> 31 <body>
32 <!-- This tests the operation of -webkit-animation-direction. After 1 second the red boxes should be hidden by the green boxes. You should see no red boxes. --> 32 <!-- This tests the operation of -webkit-animation-direction. After 1 second the red boxes should be hidden by the green boxes. You should see no red boxes. -->
33 <div id="box"></div> 33 <div id="box"></div>
34 <div id="safezone"></div> 34 <div id="safezone"></div>
35 <div id="result"> 35 <div id="result">
36 Warning this test is running in real-time and may be flaky.<br> 36 Warning this test is running in real-time and may be flaky.<br>
37 PASS - "webkitTransform" property for "box" element at 0.5s saw something close to: 1,0,0,1,50,0<br> 37 PASS - "webkitTransform" property for "box" element at 0.5s saw something close to: 1,0,0,1,50,0<br>
38 PASS - "webkitTransform" property for "box" element at 1s saw something close to : 1,0,0,1,100,0<br> 38 PASS - "webkitTransform" property for "box" element at 1s saw something close to : 1,0,0,1,100,0<br>
39 PASS - "webkitTransform" property for "box" element at 2.5s saw something close to: 1,0,0,1,50,0 39 PASS - "webkitTransform" property for "box" element at 2.5s saw something close to: 1,0,0,1,50,0
40 </div> 40 </div>
41 </div> 41 </div>
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698