elm-community / typed-svg

Typed SVG library written for Elm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Put a deprecation notice on xlinkHref and add the new href attribute

AlienKevin opened this issue · comments

In most cases, xlinkHref is still supported by most browsers but usage in elements like image is not longer supported (tested on latest chrome. and safari). Considering that new href attribute is widely used in many elements and the transition has relatively matured, I feel it's time to put a deprecation notice on xlinkHref and add href to our API.

Yes, good idea. And reference href from the xlinkHref docs as the better way to do it.

Made a PR