搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 2 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 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

由 cor-el 於 修改

被選擇的解決方法

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.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

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.

由 jscher2000 - Support Volunteer 於 修改

more options