Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

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

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

Подробнее

Firefox is very slow with masking images and animations in general.

  • 1 ответ
  • 1 имеет эту проблему
  • 4 просмотра
  • Последний ответ от user1929

more options

I am using animation on SVG elements (only paths) (Just by toggling the visibility property of paths very frequently with JavaScript). The SVG has a background image. Some of the paths that are displayed must have the background image on the stroke (to appear as if they are erasing paths). I use the masking capability of SVG to do this.

There are too many paths with or without background image on the stroke. This works well in Chrome. However, in FireFox, the animation process becomes very slow while displaying an erasing path (i.e a path with the background image on the stroke). Is there any other way to display an erasing path to which Firefox responds well.

I am using animation on SVG elements (only paths) (Just by toggling the visibility property of paths very frequently with JavaScript). The SVG has a background image. Some of the paths that are displayed must have the background image on the stroke (to appear as if they are erasing paths). I use the masking capability of SVG to do this. There are too many paths with or without background image on the stroke. This works well in Chrome. However, in FireFox, the animation process becomes very slow while displaying an erasing path (i.e a path with the background image on the stroke). Is there any other way to display an erasing path to which Firefox responds well.

Все ответы (1)

more options

If you have an example page that does this, could you open a bug report at https://bugzilla.mozilla.org/ ?