Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

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

  • 2 odpovede
  • 1 má tento problém
  • 3 zobrazenia
  • Posledná odpoveď od 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."

Upravil(a) ugajin dňa

Všetky odpovede (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...