Closed Bug 864832 Opened 12 years ago Closed 12 years ago

Get rid of nsSVGUtils::InvalidateBounds and just use nsSVGEffects::InvalidateRenderingObservers where DLBI is working

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

(Keywords: perf)

Attachments

(1 file)

We can get rid of nsSVGUtils::InvalidateBounds and just use nsSVGEffects::InvalidateRenderingObservers where DLBI is working due to nsSVGUtils::ScheduleReflowSVG calls.
Attached patch patchSplinter Review
In the patched locations, the nsSVGUtils::ScheduleReflowSVG calls make sure that DLBI will be scheduled to run. I've restructured some of the code into separate if-else blocks so as to only make the switch for non-transform cases. That partly takes some of that splitting from bug 839865, where the transform cases still need to be worked on.
Attachment #740866 - Flags: review?(matt.woodrow)
Attachment #740866 - Flags: review?(matt.woodrow) → review+
When we change the rotate attribute on a text element isn't that more like a translation modification (that needs a bounds update) than a location change? We're not going to get artifacts if we rotate say a capital I?
The nsSVGUtils::ScheduleReflowSVG calls should take care of that.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Depends on: 871917
Depends on: 1210100
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: