Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / zoom / text / zoom-foreignObject.svg
blob4341f42ef2b0374125108c908572daee070b0e64
1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg" onload="runRepaintAndPixelTest()"
3 xmlns:xlink="http://www.w3.org/1999/xlink"
4 xmlns:xhtml="http://www.w3.org/1999/xhtml">
6 <!-- HTML FO text -->
7 <foreignObject width="250" height="200" transform="scale(3) skewY(5) skewX(5)">
8 <xhtml:div>This is a text</xhtml:div>
9 <xhtml:a href="http://www.example.com/">and a link.</xhtml:a><xhtml:br/>
10 <xhtml:div>[HTML]</xhtml:div>
11 </foreignObject>
12 <rect width="250" height="200" stroke="green" fill="none" />
14 <!-- SVG FO text -->
15 <foreignObject x="260" width="250" height="200">
16 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
17 <g transform="scale(3) skewY(5) skewX(5)">
18 <text y="16">This is a text</text>
19 <a xlink:href="http://www.example.com/">
20 <text y="35" fill="blue" text-decoration="underline">and a link.</text>
21 </a>
22 <text y="56">[SVG]</text>
23 </g>
24 </svg>
25 </foreignObject>
26 <rect x="260" width="250" height="200" stroke="green" fill="none" />
28 <defs>
29 <script>var zoomCount = 2;</script>
30 <script xlink:href="../../../fast/repaint/resources/text-based-repaint.js"/>
31 <script xlink:href="../resources/testTextZoom.js"/>
32 </defs>
33 </svg>