Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Clicking a link vs. typing the link in the address bar gives different SVG output.

  • 2 përgjigje
  • 1 e ka hasur këtë problem
  • 2 parje
  • Përgjigjja më e re nga FredMcD

more options

I have a web app that uses SVG to render. There's a problem with SVG gradient fills rendering when I type the URL of the application that doesn't occur when I navigate to the site via a bookmark.

If you navigate to https://www.draw.io?ff=1 you'll see the correct result, an SVG rect with a gradient fill. If you manually type that URL, the fill fails.

I've tested this on FF 3.6, 18, 29 and 31 on Windows 7, OS X 10.9 and Linux Mint 17, they all show this behaviour.

I found this thread that might be related and I've tested in safe mode with the cache cleared and that doesn't help: https://support.mozilla.org/en-US/questions/1005522?esab=a&as=aaq

I have a web app that uses SVG to render. There's a problem with SVG gradient fills rendering when I type the URL of the application that doesn't occur when I navigate to the site via a bookmark. If you navigate to https://www.draw.io?ff=1 you'll see the correct result, an SVG rect with a gradient fill. If you manually type that URL, the fill fails. I've tested this on FF 3.6, 18, 29 and 31 on Windows 7, OS X 10.9 and Linux Mint 17, they all show this behaviour. I found this thread that might be related and I've tested in safe mode with the cache cleared and that doesn't help: https://support.mozilla.org/en-US/questions/1005522?esab=a&as=aaq

Zgjidhje e zgjedhur

We've solved this, the problem was the way we redirected to https using window.location.protocol. We're now using window.location.href and it works.

Lexojeni këtë përgjigje brenda kontekstit 👍 1

Krejt Përgjigjet (2)

more options

Zgjidhja e Zgjedhur

We've solved this, the problem was the way we redirected to https using window.location.protocol. We're now using window.location.href and it works.

more options

Hello,

I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution more easily.

Thank you for contacting Mozilla Support.