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

Side by Side Diff: LayoutTests/transitions/repeated-firing-background-color.html

Issue 1113173003: Web Animations: Update naming to reflect spec changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: No, really. Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 div { 4 div {
5 -webkit-transition: background-color .15s linear; 5 -webkit-transition: background-color .15s linear;
6 } 6 }
7 div.trans { 7 div.trans {
8 background-color: hsla(0, 50%, 50%, 1); 8 background-color: hsla(0, 50%, 50%, 1);
9 } 9 }
10 </style> 10 </style>
11 <script> 11 <script>
12 function checkRunning() 12 function checkRunning()
13 { 13 {
14 var current = document.timeline.getAnimationPlayers().length; 14 var current = document.timeline.getAnimations().length;
15 if (current == 0) 15 if (current == 0)
16 document.getElementById('result').innerHTML = "PASS: Number of active tr ansitions is (0) as expected"; 16 document.getElementById('result').innerHTML = "PASS: Number of active tr ansitions is (0) as expected";
17 else 17 else
18 document.getElementById('result').innerHTML = "FAIL: Number of active tr ansitions is (" + current + ") but was expecting (0)"; 18 document.getElementById('result').innerHTML = "FAIL: Number of active tr ansitions is (" + current + ") but was expecting (0)";
19 testRunner.notifyDone(); 19 testRunner.notifyDone();
20 } 20 }
21 21
22 if (window.testRunner) { 22 if (window.testRunner) {
23 testRunner.dumpAsText(); 23 testRunner.dumpAsText();
24 testRunner.waitUntilDone(); 24 testRunner.waitUntilDone();
(...skipping 12 matching lines...) Expand all
37 setTimeout(checkRunning, 0); 37 setTimeout(checkRunning, 0);
38 }); 38 });
39 39
40 document.getElementById("foo").className="trans"; 40 document.getElementById("foo").className="trans";
41 </script> 41 </script>
42 42
43 <div id="result"> 43 <div id="result">
44 </div> 44 </div>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW
« no previous file with comments | « LayoutTests/transitions/interrupted-immediately.html ('k') | LayoutTests/transitions/transition-currentcolor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698