Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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

  • 2 ответа
  • 1 имеет эту проблему
  • 12 просмотров
  • Последний ответ от 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