tartOffset="50">
          The text goes around the rect.
        </textPath>
      </text>

      <text x="270" y="30">Using startOffset="50" and</text>
      <text x="270" y="50">pathLength="100":</text>
      <use xlink:href="#boxWithPathlength"/>
      <text>
        <textPath xlink:href="#boxWithPathlength" startOffset="50">
          The text goes around the rect.
        </textPath>
      </text>

      <g id="dom-results" transform="translate(0,-10)">
        <text x="10" y="180">getTotalLength:</te