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

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

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

Powered by Google App Engine
This is Rietveld 408576698