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