xlinkHref renders an 'href' attribute, not 'xlink:href' attribute
See original GitHub issueWell, subject.
preact version: 6.4.0
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
xlink:href - SVG: Scalable Vector Graphics - MDN Web Docs
The xlink:href attribute defines a reference to a resource as a reference IRI. ... Deprecated: This feature is no longer recommended.
Read more >SVG xlink:href attribute does not obey xml:base - Stack Overflow
I have a piece of simple SVG file below. The xml:base is declared in root element but the xlink:href attribute does not follow...
Read more >On xlink:href being deprecated in SVG - CSS-Tricks
The attribute we always use for them, xlink:href , is deprecated. Indeed, MDN says: Deprecated since SVG 2 This feature has been removed...
Read more >580809 - Changing xlink:href attribute on <use> is flaky with ...
Issue 580809: Changing xlink:href attribute on <use> is flaky with cache-control: max-age=0 · 1) Download test. · 2) Open a terminal and type...
Read more >Linking — SVG 2 - W3C
An invalid URL does not make an SVG document non-conforming. ... For backwards compatibility, the deprecated 'xlink:href' attribute is defined below along ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
<use xlinkHref="#icon-name" />
…which is inside of an
svg
tag, of course@developit I was actually looking into bug report which I thought might be related to this, but I think that is more likely a Firefox issue.
It’s probably not worth changing it, unless you want to match React or cover some non-browser rendering cases.