Add support for SVG tspan and image elements, and the preserveAspectRatio attribute.