handle svg style attributes