Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Lag when generating SVG content with JavaScript in v8 Chrome & Safari browsers

  • 2 réponses
  • 1 a ce problème
  • 3 vues
  • Dernière réponse par ugajin

more options

"I have been working on a project, looking at animating web content, and out of own interest begun writing a personal (JavaScript) framework for handling SVG content. I began adding SVG content on the fly to hard coded SVG elements. However, there is a small, but noticeable 'lag' when hitting the refresh button in Chrome and Safari, which is not present in Firefox (on OS X). The lag has became more noticeable when adding the SVG elements on the fly, probably due to repainting layout, together with surrounding content. It is now no longer acceptable, and I do not know where to go from here.

Here are a couple of links:

1 http://ugajin.co.uk/sketchbooks/sketchbook-4/index_9.html

2 http://ugajin.co.uk/sketchbooks/sketchbook-4/index_9a.html

The Javascript is loaded at end of html body element from external files.

Any thoughts, or suggestions are welcome."

"I have been working on a project, looking at animating web content, and out of own interest begun writing a personal (JavaScript) framework for handling SVG content. I began adding SVG content on the fly to hard coded SVG elements. However, there is a small, but noticeable 'lag' when hitting the refresh button in Chrome and Safari, which is not present in Firefox (on OS X). The lag has became more noticeable when adding the SVG elements on the fly, probably due to repainting layout, together with surrounding content. It is now no longer acceptable, and I do not know where to go from here. Here are a couple of links: 1 http://ugajin.co.uk/sketchbooks/sketchbook-4/index_9.html 2 http://ugajin.co.uk/sketchbooks/sketchbook-4/index_9a.html The Javascript is loaded at end of html body element from external files. Any thoughts, or suggestions are welcome."

Modifié le par ugajin

Toutes les réponses (2)

more options

hi, sorry support.mozilla.org is intended for end user support. if you need help regarding to web development please refer to Where to go for developer support for some of mozilla's help resources...