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 body { overflow: hidden; margin: 0px } | 6 body { overflow: hidden; margin: 0px } |
7 </style> | 7 </style> |
8 | 8 |
9 <!-- The blue sector of the image <pattern> should be at the 12 o'clock. --> | 9 <!-- The blue sector of the image <pattern> should be at the 12 o'clock. --> |
10 <body> | 10 <body> |
11 <svg width="800px" height="400px"> | 11 <svg width="800px" height="400px"> |
12 <pattern id="pattern" patternUnits="userSpaceOnUse" width="400" height="400"> | 12 <pattern id="pattern" patternUnits="userSpaceOnUse" width="400" height="400"> |
13 <image onload="top.load()" xlink:href="resources/red-at-12-oclock-with-colo
r-profile.jpg" width="400" height="400"/> | 13 <image onload="top.load()" xlink:href="resources/red-at-12-oclock-with-colo
r-profile.jpg" width="400" height="400"/> |
(...skipping 15 matching lines...) Expand all Loading... |
29 function done() { | 29 function done() { |
30 setTimeout(function() { testRunner.notifyDone() }, 0); | 30 setTimeout(function() { testRunner.notifyDone() }, 0); |
31 } | 31 } |
32 | 32 |
33 if (window.testRunner) { | 33 if (window.testRunner) { |
34 testRunner.dumpAsTextWithPixelResults(); | 34 testRunner.dumpAsTextWithPixelResults(); |
35 testRunner.waitUntilDone(); | 35 testRunner.waitUntilDone(); |
36 } | 36 } |
37 </script> | 37 </script> |
38 </html> | 38 </html> |
OLD | NEW |