Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

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

  • 1 resposta
  • 1 tem este problema
  • 4 visualizações
  • Última resposta por 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.

Todas as respostas (1)

more options

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