Fix icons on firefox by decoding svg imgs#2378
Fix icons on firefox by decoding svg imgs#2378paulirish merged 1 commit intoGoogleChrome:masterfrom evenstensberg:fix-details
Conversation
|
It's nice having these in utf8 svg as they remain very editable. I looked into this issue and found these articles which affirm my belief this shouldn't be a crossbrowser issue:
then after debugging the Interestingly, the error message they print is pointing to the wrong thing. the real issue is that the And why? Well, Taylor's post mentions that #'s need to be escaped. :) And we've got So shall we use HSL instead? :) |
There was a problem hiding this comment.
thx.
let's revert this encoding change and go from hex colors to hsl colors.
http://mothereffinghsl.com y'all.
|
The |
|
I thought it was the issue too, but people on the googs explained as if the problem wasn't just the hashes being invalidated. 💯 Agree about utf 8 being most convenient , will change this ✌️ |
|
Ups, reverted this as I did |
|
This is ready |
|
honestly, this little bug is probably worth a lighthouse audit in its own right: "SVG background-images are cross-browser" :) |
|
fixes (partiallly) #2320 |

Before:
After: