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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/color-profile-border-fade.html

Issue 2217463003: Color profile layout test cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 <html> 2 <html>
3 <style> 3 <style>
4 .fade { 4 .fade {
5 -webkit-animation: fader linear 100000s infinite 10ms 5 -webkit-animation: fader linear 100000s infinite 10ms
6 } 6 }
7 7
8 .border { 8 .border {
9 border: 5px solid transparent; 9 border: 5px solid transparent;
10 border-radius: 200px; 10 border-radius: 200px;
(...skipping 15 matching lines...) Expand all
26 element.classList.toggle('fade'); 26 element.classList.toggle('fade');
27 } 27 }
28 28
29 function start(event) { 29 function start(event) {
30 event.target.classList.toggle('border'); 30 event.target.classList.toggle('border');
31 31
32 if (window.testRunner) 32 if (window.testRunner)
33 setTimeout(function() { testRunner.notifyDone() }, 0); 33 setTimeout(function() { testRunner.notifyDone() }, 0);
34 } 34 }
35 35
36 if (window.internals)
37 internals.settings.setImageColorProfilesEnabled(true);
38
39 if (window.testRunner) { 36 if (window.testRunner) {
40 testRunner.setColorProfile('whacked', new Function()); 37 testRunner.setColorProfile('colorSpin', new Function());
41 testRunner.dumpAsTextWithPixelResults(); 38 testRunner.dumpAsTextWithPixelResults();
42 testRunner.waitUntilDone(); 39 testRunner.waitUntilDone();
43 } 40 }
44 </script> 41 </script>
45 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698