Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / textPath-change-id2.svg
blob6ed9c11aee84ad5719946dd21009c1ce053098f2
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
2 <text x="50" y="50">PASS</text>
3 <path id="foo" d="M150 50 L 450 50" />
4 <text>
5 <textPath id="theTP" xlink:href="#foo">FAIL</textPath>
6 </text>
7 <script><![CDATA[
8 function runTest() {
9 var path = document.getElementById("foo");
10 path.setAttribute("id", "bar");
12 ]]></script>
13 </svg>