Closed
Bug 886279
Opened 12 years ago
Closed 8 years ago
Major slowdown when scrolling the same HTML page with SVG images instead of PNG ones
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: julien.sanchez, Unassigned)
References
()
Details
(Keywords: perf, Whiteboard: [in-the-wild] [external-report])
Scrolling a page with SVG elements is very slow.
Testcase from @chriscoyier:
http://codepen.io/adrianosmond/pen/LCogn
This testcase is interesting to investigate the reason of the slowdown because it compares scrolling of a page with SVG images against the same one but with PNG images only.
Comment 1•12 years ago
|
||
Confirmed with nightly 24.0a1 (June 24) running on Ubuntu 12.04. Also, chrome exhibits the same behavior.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•12 years ago
|
||
The codepen.io page is quite difficult to debug. I created a smaller testcase at: philbit.com/sprites2.html
Reporter | ||
Comment 3•12 years ago
|
||
I have added Philip Roger's testcase as bug's main URL reference. The SVG-only container is almost impossible to scroll on my system whereas PNG version scrolls smoothly.
![]() |
||
Comment 4•12 years ago
|
||
I'd expect that this is something Seth's recent work on SVG images would fix/improve. CC'ing Seth for his thoughts.
Keywords: perf
Comment 5•12 years ago
|
||
just noticed a fix for this issue has landed in chromium: https://code.google.com/p/chromium/issues/detail?id=253091
Comment 6•12 years ago
|
||
I tested Philip's testcase on my local build with the in-progress fix for bug 764299, and performance is much better. I've added that bug as a blocker.
Depends on: 764299
![]() |
||
Updated•11 years ago
|
Whiteboard: [in-the-wild] [external-report]
Comment 8•11 years ago
|
||
another test (using CSS animations) just to confirm that performance on 29.0a2 is way better than it used to be a few months ago - SVG as img[src]: http://jsbin.com/bixun/1 and SVG as background-image: http://jsbin.com/bixun/3
![]() |
||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•