Expand/Contract SVG Elements

This demonstrates how to animate the size of an svg element: circle, ellipse, rect, path, polygon, and text. The element expands, contracts, then returns to original size.
this is my text
Expand/Contract: Half Sine: Full Sine:

SVG Source:
Javascript:
OK in:IE11/CH32/FF23