OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <style> |
| 4 div { |
| 5 -webkit-border-image:url("resources/red-at-12-oclock-with-color-profile.jpg"
) 8 2 round; |
| 6 margin: -18px 0 5px 0; |
| 7 height: 250px; |
| 8 width: 794px; |
| 9 } |
| 10 </style> |
| 11 |
| 12 <body style="overflow: hidden"> |
| 13 <!-- The blue sector of the images should be at 12 o'clock. --> |
| 14 <svg width="800px" height="150px"> |
| 15 <pattern id="pattern" patternUnits="userSpaceOnUse" width="400" height="150"
> |
| 16 <image xlink:href="resources/red-at-12-oclock-with-color-profile.jpg" widt
h="400" height="400"/> |
| 17 </pattern> |
| 18 <rect width="800" height="130" style="fill: url(#pattern)"/> |
| 19 </svg> |
| 20 <div></div> |
| 21 <iframe onload="load()" width="800px" height="185px" scrolling="no" frameborde
r="1" |
| 22 src="resources/red-at-12-oclock-with-color-profile.jpg"> |
| 23 </iframe> |
| 24 </body> |
| 25 |
| 26 <script> |
| 27 function load() { |
| 28 if (window.testRunner) |
| 29 testRunner.setColorProfile('test', done); |
| 30 } |
| 31 |
| 32 function done() { |
| 33 setTimeout(function() { testRunner.notifyDone() }, 0); |
| 34 } |
| 35 |
| 36 if (window.testRunner) { |
| 37 testRunner.dumpAsTextWithPixelResults(); |
| 38 testRunner.waitUntilDone(); |
| 39 } |
| 40 </script> |
| 41 </html> |
OLD | NEW |