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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/animation-policy.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 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 <script> 1 <script>
2 var updated = false; 2 var updated = false;
3 var prevTime; 3 var prevTime;
4 if (window.internals) 4 if (window.internals)
5 internals.settings.setImageAnimationPolicy("none"); 5 internals.settings.setImageAnimationPolicy("none");
6 6
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 9
10 function changeImage() { 10 function changeImage() {
(...skipping 16 matching lines...) Expand all
27 27
28 if (window.testRunner) { 28 if (window.testRunner) {
29 testRunner.layoutAndPaintAsyncThen(function () { 29 testRunner.layoutAndPaintAsyncThen(function () {
30 window.requestAnimationFrame(finishTest); 30 window.requestAnimationFrame(finishTest);
31 }); 31 });
32 } 32 }
33 } 33 }
34 </script> 34 </script>
35 <body onload="changeImage()"> 35 <body onload="changeImage()">
36 <img id="target" src="animation-blue.gif" onload="imageLoaded()"> 36 <img id="target" src="animation-blue.gif" onload="imageLoaded()">
37 </body> 37 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698