Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

SVG path not displaying properly in firefox

more options

I made a linked svg map by copying the svg code from illustator, and it works perfectly in chrome, but in firefox Kazakhstan breaks, and I do not know how to fix it. Any help would be appriciated, thanks. https://jsfiddle.net/mfby98te/

I made a linked svg map by copying the svg code from illustator, and it works perfectly in chrome, but in firefox Kazakhstan breaks, and I do not know how to fix it. Any help would be appriciated, thanks. [https://jsfiddle.net/mfby98te/ https://jsfiddle.net/mfby98te/]
Attached screenshots

Valgt løsning

Ended up just remaking Kazakhstan in illustrator fixing the issue.

Les dette svaret i sammenhengen 👍 0

All Replies (2)

more options

One of the <path> elements under <g data-name="asia"> is being interpreted very differently in Firefox than in Edge/Chrome. I added a yellow fill to illustrate the difference (screenshots attached). The dimensions overlay also indicates something is radically different. However, I don't know enough about SVG to spot the issue. Maybe file a bug?

https://bugzilla.mozilla.org/

more options

Valgt løsning

Ended up just remaking Kazakhstan in illustrator fixing the issue.