Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

SVG objects with the <feSpecularLighting> filter effect do not display

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 12 wyświetleń
  • Ostatnia odpowiedź od cor-el

more options

When I open a Scalable Vector Graphics (.svg) file in Firefox, any objects having filters that contain the <feSpecularLighting> filter primitive, do not display at all and in rare cases, even causes Firefox to crash.

For example:

It should render like this:

When I open a Scalable Vector Graphics (.svg) file in Firefox, any objects having filters that contain the <feSpecularLighting> filter primitive, do not display at all and in rare cases, even causes Firefox to crash. For example: *http://upload.wikimedia.org/wikipedia/commons/e/ee/Video_game_health_bar.svg It should render like this: *http://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/Video_game_health_bar.svg/3000px-Video_game_health_bar.svg.png

Zmodyfikowany przez cor-el w dniu

Wybrane rozwiązanie

In order to get the SVG file to render like the PNG, you need to edit kernelUnitLength from 0.01 to approximately 1.0 (or delete it). Not sure whether something might have changed in how Firefox handles this attribute to cause such a drastic difference.

I should test in a clean profile to see whether I get the same result...

Edit: Same result in a clean profile, i.e., no extensions or settings changes from factory default.

Przeczytaj tę odpowiedź w całym kontekście 👍 1

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

In order to get the SVG file to render like the PNG, you need to edit kernelUnitLength from 0.01 to approximately 1.0 (or delete it). Not sure whether something might have changed in how Firefox handles this attribute to cause such a drastic difference.

I should test in a clean profile to see whether I get the same result...

Edit: Same result in a clean profile, i.e., no extensions or settings changes from factory default.

Zmodyfikowany przez jscher2000 - Support Volunteer w dniu

more options