Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / textPath-path-change.svg
blobc3eb6e04445ff983f883812ccb8a811ac29153e9
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
2 <path id="thePath" d="M50 50 L 450 50" />
3 <text x="50" y="100">This text should be ABOVE the other line.</text>
4 <text>
5 <textPath id="theTP" xlink:href="#thePath">This text should be BELOW the other line.</textPath>
6 </text>
7 <script><![CDATA[
8 function runTest() {
9 var path = document.getElementById("thePath");
10 path.setAttribute("d", "M50 150 L 450 150");
12 ]]></script>
13 </svg>