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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/color-profile-image-filter-all.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 html { 4 html {
5 width: 100vw; 5 width: 100vw;
6 height: 100vh; 6 height: 100vh;
7 } 7 }
8 8
9 body { 9 body {
10 text-transform: uppercase; 10 text-transform: uppercase;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 <img id="opacity" src="resources/red-at-12-oclock-with-color-profile.jpg" /> <p>Opacity</p> 65 <img id="opacity" src="resources/red-at-12-oclock-with-color-profile.jpg" /> <p>Opacity</p>
66 </div> 66 </div>
67 <div> 67 <div>
68 <img id="blurhue" src="resources/red-at-12-oclock-with-color-profile.jpg" /> <p>Blur+Hue</p> 68 <img id="blurhue" src="resources/red-at-12-oclock-with-color-profile.jpg" /> <p>Blur+Hue</p>
69 </div> 69 </div>
70 </body> 70 </body>
71 71
72 <script> 72 <script>
73 window.onload = function() { 73 window.onload = function() {
74 if (window.testRunner) 74 if (window.testRunner)
75 setTimeout(function() { testRunner.setColorProfile('whacked', done) }, 100); 75 setTimeout(function() { testRunner.setColorProfile('colorSpin', done) }, 100 );
76 }; 76 };
77 77
78 function done() { 78 function done() {
79 setTimeout(function() { testRunner.notifyDone() }, 0); 79 setTimeout(function() { testRunner.notifyDone() }, 0);
80 } 80 }
81 81
82 if (window.internals)
83 internals.settings.setImageColorProfilesEnabled(true);
84
85 if (window.testRunner) { 82 if (window.testRunner) {
86 testRunner.dumpAsTextWithPixelResults(); 83 testRunner.dumpAsTextWithPixelResults();
87 testRunner.waitUntilDone(); 84 testRunner.waitUntilDone();
88 } 85 }
89 </script> 86 </script>
90 </html> 87 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698