Fix SVG opacity animations with zero duration

SVG elements now correctly handle zero-duration animations for properties like opacity and transform. The fix ensures these CSS style properties are read from and applied to the element's style object rather than SVG attributes, allowing animations to complete immediately without losing their target values.