Showing how to calculate the SVG dimensions of a <tspan> element by using getBoundingClientRect().

Value 1 Value 200

Copyright © 2011 Gavin Kistner. Written to support this Stack Overflow answer.