Closed Bug 912953 Opened 11 years ago Closed 11 years ago

Invalidation fixes for elements with SVG filters

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(5 files)

This fixes most invalidations on attachment 795171 [details] and is what Matt Woodrow suggested in bug 853699 comment 10.
Attachment #800097 - Flags: review?(roc)
This fixes invalidations that occurred on attachment 795171 [details] when scrolling it from positive into negative offsets.
Attachment #800100 - Flags: review?(roc)
Sometimes, when scrolling an a page with an <svg> made up of multiple filtered elements, scrolling would invalidate 1x1 pixel boxes for each element, and this GetBounds() call would cause many more pixels to be repainted.
Attachment #800101 - Flags: review?(roc)
There are several places under nsSVGIntegrationUtils::AdjustInvalidAreaForSVGEffects where we convert rects between coordinate systems, round the result, and end up with a non-empty rect when the original rect was empty.
Attachment #800107 - Flags: review?(roc)
Not sure if these are necessary, but I guess they wouldn't hurt.
Attachment #800124 - Flags: review?(roc)
Blocks: 847467
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: