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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/animation-duration-infinite.html

Issue 2269043002: Reland of Remove EventSender from HTMLStyleElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove t.step() Created 4 years, 1 month 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 <div id='target'></div>
3 <style type="text/css"> 2 <style type="text/css">
4 #target { 3 #target {
5 background-color: black; 4 background-color: black;
6 width: 100px; 5 width: 100px;
7 height: 100px; 6 height: 100px;
8 } 7 }
9 </style> 8 </style>
10 <script> 9 <script>
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 </script> 16 </script>
17 <body onload="onLoad()">
18 <div id="target"></div>
19 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698