Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / textPath-remove-path-pattern.svg
blob70bdfc61d2a6a6462b982cd90b31d9e1f13f4f97
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
2 <path id="thePath" d="M150 50 L 450 50" />
3 <text x="50" y="50">PASS</text>
4 <pattern id="pat" patternUnits="userSpaceOnUse" x="0" y="0" width="400" height="400">
5 <text>
6 <textPath id="theTP" xlink:href="#thePath">FAIL</textPath>
7 </text>
8 </pattern>
9 <rect width="400" height="400" fill="url(#pat)" stroke="black" stroke-width="1"/>
10 <script><![CDATA[
11 function runTest() {
12 var path = document.getElementById("thePath");
13 path.parentNode.removeChild(path);
15 ]]></script>
16 </svg>