<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Reference for tspan with ancestor x/y attributes</title>
  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=333698 -->
  <text x="50 100 150" y="20 40 80 60">abcdef</text>

  <g id="grid">
    <line x1="10" y1="20" x2="200" y2="20" stroke="black"/>
    <line x1="50" y1="10" x2="50" y2="100" stroke="black"/>

    <line x1="10" y1="40" x2="200" y2="40" stroke="black"/>
    <line x1="100" y1="10" x2="100" y2="100" stroke="black"/>

    <line x1="10" y1="80" x2="200" y2="80" stroke="black"/>
    <line x1="150" y1="10" x2="150" y2="100" stroke="black"/>

    <line x1="10" y1="60" x2="200" y2="60" stroke="black"/>
  </g>
</svg>