chromium/third_party/blink/web_tests/svg/custom/textPath-insert-path-pattern.svg

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
  <pattern id="pat" patternUnits="userSpaceOnUse" x="0" y="0" width="400" height="400">
    <text>
      <textPath id="theTP" xlink:href="#thePath">PASS</textPath>
    </text>
  </pattern>
  <rect width="400" height="400" fill="url(#pat)" stroke="black" stroke-width="1"/>
  <script><![CDATA[
    function runTest() {
      var path = document.createElementNS("http://www.w3.org/2000/svg", "path");
      path.setAttribute("id", "thePath");
      path.setAttribute("d", "M150 50 L 450 50");
      document.rootElement.appendChild(path);
    }
  ]]></script>
</svg>