Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

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

  • 2 amsoshi
  • 1 yana da wannan matsala
  • 3 views
  • Amsa ta ƙarshe daga 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."

An gyara daga ugajin

All Replies (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...