Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / textPath-assert.svg
blobb869abf59fc2d481ae2468e31ec8c857bafe6016
1 <svg xmlns="http://www.w3.org/2000/svg">
2 <path id="path" d="M10 30 l 200 0"/>
3 <script>
4 <![CDATA[
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 var svgns = "http://www.w3.org/2000/svg";
9 var text = document.createElementNS(svgns, "text");
10 var textpath = document.createElementNS(svgns, "textPath");
11 textpath.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "#path");
12 textpath.appendChild(document.createTextNode("PASSED if no ASSERT"));
13 text.appendChild(textpath);
14 document.documentElement.appendChild(text);
15 ]]>
16 </script>
17 </svg>