mdgriffith / elm-style-animation

The style animation library for Elm!
http://package.elm-lang.org/packages/mdgriffith/elm-style-animation/latest
BSD 3-Clause "New" or "Revised" License
441 stars 41 forks source link

Separate module for SVG properties? #47

Open marick opened 7 years ago

marick commented 7 years ago

Re: SVG height and width attributes #27

Stumbled over this again after a long break from animations (and because both Chrome and Safari will interpret a height style as an attribute).

Perhaps it would best to separate SVG attributes/styles from HTML ones? (Keeping the current ones in Animation for backwards compatibility?)

There's a note in #27 about producing both style and attribute values. I think I'd prefer the separate modules to reduce the chance that I'll once again accidentally use something that applies to HTML thinking it applies to SVG.