Closed
Bug 876189
Opened 13 years ago
Closed 11 years ago
Try to reduce the amount of invalidation for the IE Test Drive Organization Chart demo
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: jwatt, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: perf, Whiteboard: [jwatt:invalidation][ietestdrive] [in-the-wild])
While we don't perform badly on the IE Test Drive Organization Chart demo (at least not on my developer grade laptop), we are invalidating (and I'm guessing reflowing) the entire SVG. We should think about what we can do to reduce the work that we do.
Specifically I'm talking about when you use the slider at the top-right to zoom in and out rapidly.
Dragging the slider seems to result in ApplyScale() in svg-zoom.js being invoked. Amongst other things, this sets style.top/left/width/height on the <div> with ID "svgwrap" that wraps the <svg> element with ID "thesvg", and sets the "width" and "height" attributes of the <svg> to match. This relies on the "viewBox" attribute on the <svg> to do the actual scaling up of the SVG.
| Reporter | ||
Comment 1•13 years ago
|
||
So in other words zooming in/out is implemented by making the <div> and its child <svg> large/small.
| Reporter | ||
Updated•13 years ago
|
Whiteboard: [jwatt:invalidation] → [jwatt:invalidation][ietestdrive]
Updated•12 years ago
|
Blocks: ietestdrive
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [jwatt:invalidation][ietestdrive] → [jwatt:invalidation][ietestdrive] [in-the-wild]
| Reporter | ||
Updated•11 years ago
|
Comment 2•11 years ago
|
||
I think MS have removed the demo.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•