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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/timing/missing-keyframe-properties-timing-function.html

Issue 2979503002: Move animation timing tests to subdirectory (Closed)
Patch Set: Created 3 years, 5 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 type="text/css" media="screen"> 4 <style type="text/css" media="screen">
5 .box { 5 .box {
6 position: relative; 6 position: relative;
7 margin: 10px; 7 margin: 10px;
8 left: 0; 8 left: 0;
9 width: 100px; 9 width: 100px;
10 height: 100px; 10 height: 100px;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 50% { 47 50% {
48 transform: translateX(200px); 48 transform: translateX(200px);
49 animation-timing-function: linear; 49 animation-timing-function: linear;
50 } 50 }
51 to { 51 to {
52 transform: translateX(400px); 52 transform: translateX(400px);
53 } 53 }
54 } 54 }
55 55
56 </style> 56 </style>
57 <script src="resources/animation-test-helpers.js" type="text/javascript" chars et="utf-8"></script> 57 <script src="../resources/animation-test-helpers.js" type="text/javascript" ch arset="utf-8"></script>
58 <script type="text/javascript" charset="utf-8"> 58 <script type="text/javascript" charset="utf-8">
59 59
60 const expectedValues = [ 60 const expectedValues = [
61 // [time, element-id, property, expected-value, tolerance] 61 // [time, element-id, property, expected-value, tolerance]
62 [0.5, "box1", "left", 132, 15], 62 [0.5, "box1", "left", 132, 15],
63 [0.5, "box2", "transform.4", 132, 15], 63 [0.5, "box2", "transform.4", 132, 15],
64 [1.5, "box1", "left", 300, 15], 64 [1.5, "box1", "left", 300, 15],
65 [1.5, "box2", "transform.4", 300, 15], 65 [1.5, "box2", "transform.4", 300, 15],
66 ]; 66 ];
67 67
68 runAnimationTest(expectedValues); 68 runAnimationTest(expectedValues);
69 </script> 69 </script>
70 </head> 70 </head>
71 <body> 71 <body>
72 <div id="box1" class="box"></div> 72 <div id="box1" class="box"></div>
73 <div id="box2" class="box"></div> 73 <div id="box2" class="box"></div>
74 <div id="result"> 74 <div id="result">
75 </div> 75 </div>
76 </body> 76 </body>
77 </html> 77 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698