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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/animation-none-keyword.html

Issue 2513343006: CSS Animations: Remove unnecessary webkit prefixes from 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> 1 <!doctype html>
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <title>Testing animation on a none keyword</title> 4 <title>Testing animation on a none keyword</title>
5 <style> 5 <style>
6 #test { 6 #test {
7 max-width: none; 7 max-width: none;
8 -webkit-animation-duration: 2s; 8 animation-duration: 2s;
9 -webkit-animation-timing-function: linear; 9 animation-timing-function: linear;
10 -webkit-animation-name: none-test; 10 animation-name: none-test;
11 } 11 }
12 12
13 @-webkit-keyframes none-test { 13 @keyframes none-test {
14 25% { max-width: 10px; } 14 25% { max-width: 10px; }
15 75% { max-width: 10px; } 15 75% { max-width: 10px; }
16 } 16 }
17 </style> 17 </style>
18 <script src="resources/animation-test-helpers.js"></script> 18 <script src="resources/animation-test-helpers.js"></script>
19 <script> 19 <script>
20 const expectedValues = [ 20 const expectedValues = [
21 // [time, element-id, property, expected-value, tolerance] 21 // [time, element-id, property, expected-value, tolerance]
22 [0, "test", "max-width", "none", 0], 22 [0, "test", "max-width", "none", 0],
23 [0.25, "test", "max-width", 10, 0], 23 [0.25, "test", "max-width", 10, 0],
24 [1, "test", "max-width", 10, 0], 24 [1, "test", "max-width", 10, 0],
25 [1.75, "test", "max-width", "none", 0], 25 [1.75, "test", "max-width", "none", 0],
26 [2, "test", "max-width", "none", 0], 26 [2, "test", "max-width", "none", 0],
27 ]; 27 ];
28 28
29 runAnimationTest(expectedValues); 29 runAnimationTest(expectedValues);
30 </script> 30 </script>
31 </head> 31 </head>
32 <body> 32 <body>
33 <div id="test">Animating max-width from/to none.</div> 33 <div id="test">Animating max-width from/to none.</div>
34 </div> 34 </div>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698