![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Svg Image not Displaying Correctly in Firefox 58.0.1
I've noticed that a website logo has stopped displaying in Firefox possibly since the 58.0.1 update. It used to display fine until recently. The file displays ok in all the other top browsers.
See this link: https://jsfiddle.net/James2015/256mdLvz/ and view in Firefox then Chrome etc.
被采纳的解决方案
Your svg file is wrong. You have to remove this:
<defs class="ClipPathGroup"> <clipPath id="a"> <rect width="22600" height="12600"/> </clipPath> </defs>
and all occurences of
clip-path="url(#a)"
and it'll be OK.
定位到答案原位置 👍 3所有回复 (2)
选择的解决方案
Your svg file is wrong. You have to remove this:
<defs class="ClipPathGroup"> <clipPath id="a"> <rect width="22600" height="12600"/> </clipPath> </defs>
and all occurences of
clip-path="url(#a)"
and it'll be OK.
Thank you, worked perfectly.