blob: 52675c5cee95cce09a9b63665e07a65a2bcd880c [file] [log] [blame]
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" onload="runRepaintTest()"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<!-- HTML FO text -->
<foreignObject width="250" height="200" transform="scale(3) skewY(5) skewX(5)">
<xhtml:div>This is a text</xhtml:div>
<xhtml:a href="http://www.example.com/">and a link.</xhtml:a><xhtml:br/>
<xhtml:div>[HTML]</xhtml:div>
</foreignObject>
<rect width="250" height="200" stroke="green" fill="none" />
<!-- SVG FO text -->
<foreignObject x="260" width="250" height="200">
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
<g transform="scale(3) skewY(5) skewX(5)">
<text y="16">This is a text</text>
<a xlink:href="http://www.example.com/">
<text y="35" fill="blue" text-decoration="underline">and a link.</text>
</a>
<text y="56">[SVG]</text>
</g>
</svg>
</foreignObject>
<rect x="260" width="250" height="200" stroke="green" fill="none" />
<defs>
<script>var zoomCount = 2;</script>
<script xlink:href="../../../fast/repaint/resources/repaint.js"/>
<script xlink:href="../resources/testPageZoom.js"/>
</defs>
</svg>