| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <meta charset="utf-8"> | |
| 3 <title>href - textPath element</title> | |
| 4 <meta name="assert" content="The textPath element should accept href"> | |
| 5 <link rel="match" href="href-textPath-element-ref.html"> | |
| 6 <body> | |
| 7 <svg width="100%" height="100%" viewBox="0 0 1000 300" | |
| 8 xmlns:xlink="http://www.w3.org/1999/xlink"> | |
| 9 <defs> | |
| 10 <path id="MyPath" | |
| 11 d="M 100 200 | |
| 12 C 200 100 300 0 400 100 | |
| 13 C 500 200 600 300 700 200 | |
| 14 C 800 100 900 100 900 100" /> | |
| 15 <path id="MyPath2" d="M 100 100 L 900 100" /> | |
| 16 </defs> | |
| 17 <text font-family="Verdana" font-size="40"> | |
| 18 <textPath href="#MyPath" xlink:href="#MyPath2"> | |
| 19 We go up, then we go down, then up again | |
| 20 </textPath> | |
| 21 </text> | |
| 22 </svg> | |
| 23 </body> | |
| OLD | NEW |