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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/prefixed/keyframes-unprefixed-01.html

Issue 2970883003: Separate out animations tests with prefixing (Closed)
Patch Set: Rebaseline virtual/threaded version of test too 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 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>Keyframes test</title> 7 <title>Keyframes test</title>
8 <style type="text/css" media="screen"> 8 <style type="text/css" media="screen">
9 #box { 9 #box {
10 position: absolute; 10 position: absolute;
11 left: 0; 11 left: 0;
12 top: 100px; 12 top: 100px;
13 height: 100px; 13 height: 100px;
14 width: 100px; 14 width: 100px;
15 background-color: blue; 15 background-color: blue;
16 animation-duration: 1s; 16 animation-duration: 1s;
17 animation-timing-function: linear; 17 animation-timing-function: linear;
18 animation-name: anim; 18 animation-name: anim;
19 animation-fill-mode: forwards; 19 animation-fill-mode: forwards;
20 } 20 }
21 @keyframes anim { 21 @keyframes anim {
22 from { left: 200px; } 22 from { left: 200px; }
23 to { left: 300px; } 23 to { left: 300px; }
24 } 24 }
25 </style> 25 </style>
26 <script src="resources/animation-test-helpers.js" type="text/javascript" cha rset="utf-8"></script> 26 <script src="../resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
27 <script type="text/javascript" charset="utf-8"> 27 <script type="text/javascript" charset="utf-8">
28 28
29 const expectedValues = [ 29 const expectedValues = [
30 // [time, element-id, property, expected-value, tolerance] 30 // [time, element-id, property, expected-value, tolerance]
31 [1, "box", "left", 300, 1], 31 [1, "box", "left", 300, 1],
32 ]; 32 ];
33 33
34 runAnimationTest(expectedValues); 34 runAnimationTest(expectedValues);
35 35
36 </script> 36 </script>
37 </head> 37 </head>
38 <body> 38 <body>
39 This test verifies that the unprefixed @keyframes rule is correctly parsed and u sed. 39 This test verifies that the unprefixed @keyframes rule is correctly parsed and u sed.
40 <div id="box"> 40 <div id="box">
41 </div> 41 </div>
42 <div id="result"> 42 <div id="result">
43 </div> 43 </div>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698