تلاش سپورٹ

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

  • 2 جواب دیں
  • 1 میں یہ مسئلہ ہے
  • 156 دیکھیں
  • آخری جواب بذریعہ frode.bodtkerjr

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/]
منسلک شدہ اسکرین شاٹٹس

منتخب شدہ حل

Ended up just remaking Kazakhstan in illustrator fixing the issue.

اس جواب کو سیاق و سباق میں پڑھیں 👍 0

تمام جوابات (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

منتخب شدہ حل

Ended up just remaking Kazakhstan in illustrator fixing the issue.