| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <script src="../resources/run-after-layout-and-paint.js"></script> | 3 <script src="../resources/run-after-layout-and-paint.js"></script> |
| 4 | 4 |
| 5 <style> | 5 <style> |
| 6 div { | 6 div { |
| 7 -webkit-border-image: url("resources/red-at-12-oclock-with-color-profile.jpg
") 8 2 round; | 7 -webkit-border-image: url("resources/red-at-12-oclock-with-color-profile.jpg
") 8 2 round; |
| 8 border-style: solid; | 8 border-style: solid; |
| 9 margin: -18px 0 5px 0; | 9 margin: -18px 0 5px 0; |
| 10 height: 250px; | 10 height: 250px; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 <rect width="800" height="130" style="fill: url(#pattern)"/> | 21 <rect width="800" height="130" style="fill: url(#pattern)"/> |
| 22 </svg> | 22 </svg> |
| 23 <div></div> | 23 <div></div> |
| 24 <iframe onload="load()" width="800px" height="185px" scrolling="no" frameborde
r="1" | 24 <iframe onload="load()" width="800px" height="185px" scrolling="no" frameborde
r="1" |
| 25 src="resources/red-at-12-oclock-with-color-profile.jpg"> | 25 src="resources/red-at-12-oclock-with-color-profile.jpg"> |
| 26 </iframe> | 26 </iframe> |
| 27 </body> | 27 </body> |
| 28 | 28 |
| 29 <script> | 29 <script> |
| 30 function load() { | 30 function load() { |
| 31 runAfterLayoutAndPaint(changeColorProfile); | 31 runAfterLayoutAndPaint(function() { testRunner.notifyDone() }); |
| 32 } | |
| 33 | |
| 34 function changeColorProfile() { | |
| 35 testRunner.setColorProfile('colorSpin', done); | |
| 36 } | |
| 37 | |
| 38 function done() { | |
| 39 setTimeout(function() { testRunner.notifyDone() }, 0); | |
| 40 } | 32 } |
| 41 | 33 |
| 42 if (window.testRunner) { | 34 if (window.testRunner) { |
| 43 testRunner.dumpAsTextWithPixelResults(); | 35 testRunner.dumpAsTextWithPixelResults(); |
| 44 testRunner.waitUntilDone(); | 36 testRunner.waitUntilDone(); |
| 45 } | 37 } |
| 46 </script> | 38 </script> |
| 47 </html> | 39 </html> |
| OLD | NEW |