Put a deprecation notice on xlinkHref and add the new href attribute
AlienKevin opened this issue · comments
Kevin Xiang Li commented
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.
Rupert Smith commented
Yes, good idea. And reference href
from the xlinkHref
docs as the better way to do it.
Kevin Xiang Li commented
Made a PR