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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/timing/animation-duration-infinite.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 <style type="text/css"> 2 <style type="text/css">
3 #target { 3 #target {
4 background-color: black; 4 background-color: black;
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 } 7 }
8 </style> 8 </style>
9 <script> 9 <script>
10 function onLoad() { 10 function onLoad() {
11 var element = document.getElementById('target'); 11 var element = document.getElementById('target');
12 var animation = element.animate( 12 var animation = element.animate(
13 {opacity: ['0', '1']}, 13 {opacity: ['0', '1']},
14 {duration: Infinity, iterationStart: 4.75}); 14 {duration: Infinity, iterationStart: 4.75});
15 } 15 }
16 </script> 16 </script>
17 <body onload="onLoad()"> 17 <body onload="onLoad()">
18 <div id="target"></div> 18 <div id="target"></div>
19 </body> 19 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698