textPath-01-ref.svg 487 B

1234567891011121314151617
  1. <!--
  2. Any copyright is dedicated to the Public Domain.
  3. http://creativecommons.org/publicdomain/zero/1.0/
  4. -->
  5. <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
  6. <title>Reference to check that percentage startOffset ignores pathLength</title>
  7. <defs>
  8. <path id="x" d="M 0 100 h 400"/>
  9. </defs>
  10. <text>
  11. <textPath xlink:href="#x" font-size="20" fill="black" startOffset="50%">Should see this</textPath>
  12. </text>
  13. </svg>