Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: LayoutTests/svg/zoom/text/zoom-foreignObject.svg

Issue 26390004: Rework SVG sizing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mishap during rebase in svg.css Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg" onload="runRepaintAndPixelTest()" 2 <svg xmlns="http://www.w3.org/2000/svg" onload="runRepaintAndPixelTest()"
3 xmlns:xlink="http://www.w3.org/1999/xlink" 3 xmlns:xlink="http://www.w3.org/1999/xlink"
4 xmlns:xhtml="http://www.w3.org/1999/xhtml"> 4 xmlns:xhtml="http://www.w3.org/1999/xhtml">
5 5
6 <!-- HTML FO text --> 6 <!-- HTML FO text -->
7 <foreignObject width="250" height="200" transform="scale(3) skewY(5) skewX(5)"> 7 <foreignObject width="250" height="200" transform="scale(3) skewY(5) skewX(5)">
8 <xhtml:div>This is a text</xhtml:div> 8 <xhtml:div>This is a text</xhtml:div>
9 <xhtml:a href="http://www.example.com/">and a link.</xhtml:a><xhtml:br/> 9 <xhtml:a href="http://www.example.com/">and a link.</xhtml:a><xhtml:br/>
10 <xhtml:div>[HTML]</xhtml:div> 10 <xhtml:div>[HTML]</xhtml:div>
11 </foreignObject> 11 </foreignObject>
12 <rect width="250" height="200" stroke="green" fill="none" /> 12 <rect width="250" height="200" stroke="green" fill="none" />
13 13
14 <!-- SVG FO text --> 14 <!-- SVG FO text -->
15 <foreignObject x="260" width="250" height="200"> 15 <foreignObject x="260" width="250" height="200">
16 <svg xmlns="http://www.w3.org/2000/svg"> 16 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
17 <g transform="scale(3) skewY(5) skewX(5)"> 17 <g transform="scale(3) skewY(5) skewX(5)">
18 <text y="16">This is a text</text> 18 <text y="16">This is a text</text>
19 <a xlink:href="http://www.example.com/"> 19 <a xlink:href="http://www.example.com/">
20 <text y="35" fill="blue" text-decoration="underline">and a link.</text> 20 <text y="35" fill="blue" text-decoration="underline">and a link.</text>
21 </a> 21 </a>
22 <text y="56">[SVG]</text> 22 <text y="56">[SVG]</text>
23 </g> 23 </g>
24 </svg> 24 </svg>
25 </foreignObject> 25 </foreignObject>
26 <rect x="260" width="250" height="200" stroke="green" fill="none" /> 26 <rect x="260" width="250" height="200" stroke="green" fill="none" />
27 27
28 <defs> 28 <defs>
29 <script>var zoomCount = 2;</script> 29 <script>var zoomCount = 2;</script>
30 <script xlink:href="../../../fast/repaint/resources/text-based-repaint.js"/> 30 <script xlink:href="../../../fast/repaint/resources/text-based-repaint.js"/>
31 <script xlink:href="../resources/testTextZoom.js"/> 31 <script xlink:href="../resources/testTextZoom.js"/>
32 </defs> 32 </defs>
33 </svg> 33 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698