Showing how to calculate the SVG dimensions of a <tspan> element by using getBoundingClientRect().
Copyright © 2011 Gavin Kistner. Written to support this Stack Overflow answer.