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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/prefixed/keyframes-unprefixed-03.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;
(...skipping 12 matching lines...) Expand all
23 from { left: 200px; } 23 from { left: 200px; }
24 to { left: 300px; } 24 to { left: 300px; }
25 } 25 }
26 26
27 @-webkit-keyframes anim { 27 @-webkit-keyframes anim {
28 from { left: 200px; } 28 from { left: 200px; }
29 to { left: 700px; } 29 to { left: 700px; }
30 } 30 }
31 31
32 </style> 32 </style>
33 <script src="resources/animation-test-helpers.js" type="text/javascript" cha rset="utf-8"></script> 33 <script src="../resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
34 <script type="text/javascript" charset="utf-8"> 34 <script type="text/javascript" charset="utf-8">
35 35
36 const expectedValues = [ 36 const expectedValues = [
37 // [time, element-id, property, expected-value, tolerance] 37 // [time, element-id, property, expected-value, tolerance]
38 [1, "box", "left", 300, 1], 38 [1, "box", "left", 300, 1],
39 ]; 39 ];
40 40
41 runAnimationTest(expectedValues); 41 runAnimationTest(expectedValues);
42 42
43 </script> 43 </script>
44 </head> 44 </head>
45 <body> 45 <body>
46 This test verifies that the unprefixed @keyframes rule is correctly parsed take precedence over the prefixed keyframe defined after. 46 This test verifies that the unprefixed @keyframes rule is correctly parsed take precedence over the prefixed keyframe defined after.
47 <div id="box"> 47 <div id="box">
48 </div> 48 </div>
49 <div id="result"> 49 <div id="result">
50 </div> 50 </div>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698