DOM and SVG interpolation