OLD | NEW |
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 Loading... |
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> |
OLD | NEW |