| <?xml version="1.0" standalone="no"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> |
| |
| <svg |
| xmlns="http://www.w3.org/2000/svg" |
| xmlns:xlink="http://www.w3.org/1999/xlink" |
| viewBox="0 0 300 300" |
| > |
| <g transform="translate(10,10)"> |
| <rect |
| x="0" y="0" width="100" height="100" |
| style="fill:blue;stroke-width:1;stroke:black;" |
| /> |
| <image |
| x="0" |
| y="0" |
| width="100" |
| height="100" |
| xlink:href="resources/green-checker.png" |
| /> |
| </g> |
| <g transform="matrix(200 0 0 200 190 10)"> |
| <rect |
| x="0" y="0" width=".5" height=".5" |
| style="fill:blue;stroke-width:0.005;stroke:black;" |
| /> |
| <image |
| x="0" |
| y="0" |
| width=".5" |
| height=".5" |
| xlink:href="resources/green-checker.png" |
| /> |
| </g> |
| <g |
| transform="matrix(1 0 0 1 10 120)" |
| > |
| <text font-family="'Courier'" font-size="9"> |
| <tspan x="0" y="0">For this test case to be successful, both</tspan> |
| <tspan x="0" y="15">square must include the same image. In Safari </tspan> |
| <tspan x="0" y="30">Beta 3, an <![CDATA[<image>]]> tag with width</tspan> |
| <tspan x="0" y="45">or height less than one fails to paint image.</tspan> |
| <tspan x="0" y="60">The <![CDATA[<image>]]> tag on the right has</tspan> |
| <tspan x="0" y="75">a width and height of 0.5.</tspan> |
| <tspan x="0" y="90">Bug 14241</tspan> |
| </text> |
| </g> |
| </svg> |