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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/color-profile-border-image-source.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 <head> 3 <head>
4 <style> 4 <style>
5 div { 5 div {
6 border-width: 21px 30px 30px 21px; 6 border-width: 21px 30px 30px 21px;
7 width: 75px; 7 width: 75px;
8 height: 75px; 8 height: 75px;
9 margin: 10px; 9 margin: 10px;
10 display: inline-block; 10 display: inline-block;
(...skipping 26 matching lines...) Expand all
37 <div class="rr"></div> 37 <div class="rr"></div>
38 <div class="rs"></div> 38 <div class="rs"></div>
39 <br> 39 <br>
40 <div class="sr"></div> 40 <div class="sr"></div>
41 <div class="ss"></div> 41 <div class="ss"></div>
42 </body> 42 </body>
43 43
44 <script> 44 <script>
45 window.onload = function() { 45 window.onload = function() {
46 if (window.testRunner) 46 if (window.testRunner)
47 setTimeout(function() { testRunner.setColorProfile('whacked', done) }, 100); 47 setTimeout(function() { testRunner.setColorProfile('colorSpin', done) }, 100 );
48 }; 48 };
49 49
50 function done() { 50 function done() {
51 setTimeout(function() { testRunner.notifyDone() }, 0); 51 setTimeout(function() { testRunner.notifyDone() }, 0);
52 } 52 }
53 53
54 if (window.internals)
55 internals.settings.setImageColorProfilesEnabled(true);
56
57 if (window.testRunner) { 54 if (window.testRunner) {
58 testRunner.dumpAsTextWithPixelResults(); 55 testRunner.dumpAsTextWithPixelResults();
59 testRunner.waitUntilDone(); 56 testRunner.waitUntilDone();
60 } 57 }
61 </script> 58 </script>
62 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698