Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

My Flutter web app can't display svg files in Firefox.

  • 3 odgovori
  • 1 ima to težavo
  • 1 ogled
  • Zadnji odgovor od cor-el

more options

The logo in my Flutter web app can't be displayed in the svg format. It works everywhere but Firefox.

The logo in my Flutter web app can't be displayed in the svg format. It works everywhere but Firefox.

Izbrana rešitev

The Inspector shows that these SVG images have a height=0 attribute (hovering the src attribute shows 0 x 0). Setting a height via the Inspector makes the image appear, so it looks that something is wrong with the script that retrieves and displays the image.

There is also a logo.png requested, but that image is retrieved vian the wrong "assets/assets/images/" path. Web Console: Error while trying to load an asset: Failed to load asset at "assets/assets/images/logo.png" (404)

Preberite ta odgovor v kontekstu 👍 1

Vsi odgovori (3)

more options

Do you want to provide a link to a page that illustrates the problem? If your web app isn't launched yet, you could set something up on CodePen or jsFiddle.

more options

jscher2000 said

Do you want to provide a link to a page that illustrates the problem? If your web app isn't launched yet, you could set something up on CodePen or jsFiddle.

kirnis.com The logo should be at the top of the screen. There should be 2 now, because I was doing some testing, but on Mozilla nothing appears.

more options

Izbrana rešitev

The Inspector shows that these SVG images have a height=0 attribute (hovering the src attribute shows 0 x 0). Setting a height via the Inspector makes the image appear, so it looks that something is wrong with the script that retrieves and displays the image.

There is also a logo.png requested, but that image is retrieved vian the wrong "assets/assets/images/" path. Web Console: Error while trying to load an asset: Failed to load asset at "assets/assets/images/logo.png" (404)