Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 2 trả lời
  • 1 gặp vấn đề này
  • 3 lượt xem
  • Trả lời mới nhất được viết bởi 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."

Được chỉnh sửa bởi ugajin vào

Tất cả các câu trả lời (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...