Set style attributes on SVG elements to facilitate transitions where supported

Fixes gh-85