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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/keyframe-timing-functions-multiple-properties.html

Issue 2521163002: CSS Animations: Reduce usage of webkit prefix in layout tests (Closed)
Patch Set: Created 4 years 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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd"> 2 "http://www.w3.org/TR/html4/loose.dtd">
3 3
4 <html lang="en"> 4 <html lang="en">
5 <head> 5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <title>Test animation with multiple keyframes</title> 7 <title>Test animation with multiple keyframes</title>
8 <style type="text/css" media="screen"> 8 <style type="text/css" media="screen">
9 #box { 9 #box {
10 position: relative; 10 position: relative;
11 left: 10px; 11 left: 10px;
12 top: 10px; 12 top: 10px;
13 height: 100px; 13 height: 100px;
14 width: 100px; 14 width: 100px;
15 background-color: blue; 15 background-color: blue;
16 -webkit-animation-duration: 2s; 16 animation-duration: 2s;
17 -webkit-animation-timing-function: ease-in; 17 animation-timing-function: ease-in;
18 -webkit-animation-name: anim; 18 animation-name: anim;
19 } 19 }
20 @-webkit-keyframes anim { 20 @keyframes anim {
21 from { left: 10px; top: 10px; } 21 from { left: 10px; top: 10px; }
22 40% { left: 30px; width: 300px; -webkit-animation-timing-function: ease- out; } 22 40% { left: 30px; width: 300px; animation-timing-function: ease-out; }
23 60% { top: 40px; height: 400px; -webkit-animation-timing-function: ease- in-out; } 23 60% { top: 40px; height: 400px; animation-timing-function: ease-in-out; }
24 to { left: 20px; top: 0px; } 24 to { left: 20px; top: 0px; }
25 } 25 }
26 </style> 26 </style>
27 <script src="resources/animation-test-helpers.js" type="text/javascript" chars et="utf-8"> 27 <script src="resources/animation-test-helpers.js" type="text/javascript" chars et="utf-8">
28 </script> 28 </script>
29 <script type="text/javascript" charset="utf-8"> 29 <script type="text/javascript" charset="utf-8">
30 30
31 const expectedValues = [ 31 const expectedValues = [
32 // [time, element-id, property, expected-value, tolerance] 32 // [time, element-id, property, expected-value, tolerance]
33 [ 0.2, "box", "left", 11.87, 2], 33 [ 0.2, "box", "left", 11.87, 2],
(...skipping 12 matching lines...) Expand all
46 </head> 46 </head>
47 <body> 47 <body>
48 This test performs a keyframed animation of multiple properties, with their valu es supplied in different groups of keyframes. 48 This test performs a keyframed animation of multiple properties, with their valu es supplied in different groups of keyframes.
49 It animates over 2 seconds. 49 It animates over 2 seconds.
50 <div id="box"> 50 <div id="box">
51 </div> 51 </div>
52 <div id="result"> 52 <div id="result">
53 </div> 53 </div>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698