Currently, nsSVGSwitchFrame::UpdateCoveredRegion updates all it's children when it calls nsSVGSwitchFrameBase::UpdateCoveredRegion(). For the purposes of drawing it should only be necessary to update the current child which would be a perf win. Then again, maybe getBoundingClientRect() should always return something sane for *all* children?
Created attachment 418997 [details] [diff] [review] patch
Assignee: nobody → longsonr
Attachment #418997 - Flags: review?(jwatt)
Attachment #418997 - Flags: review?(jwatt) → review?(roc)
Attachment #418997 - Flags: review?(roc) → review+
pushed http://hg.mozilla.org/mozilla-central/rev/1a3d81ba980a Marking in-testsuite+ as existing SVG reftests should exercise this code.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.