[webkit-reviews] review requested: [Bug 22981] SVG-as-image redraw broken: svg-as-background-5.html LayoutTest fails : [Attachment 26257] Patch, testcases, changelog

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 26 11:13:31 PST 2008

Simon Fraser (smfr) <simon.fraser at apple.com> has asked	for review:
Bug 22981: SVG-as-image redraw broken: svg-as-background-5.html LayoutTest

Attachment 26257: Patch, testcases, changelog

------- Additional Comments from Simon Fraser (smfr) <simon.fraser at apple.com>
	Reviewed by NOBODY (OOPS!).


	Repaints inside of an SVGImage were thrown on the floor,
	which broke incremental painting due to loading, or SVG animation.
	Fix this by assigning the SVGImage a ChromeClient subclass that passes
	along repaints via a new method on ImageObserver, which also takes
	a rect parameter for the changed rect, allowing incremental repaints.
	Fix RenderImage::imageChanged to take advantage of this changedRect to
	only repaint the changed parts of the image.
	Tests: fast/backgrounds/animated-svg-as-background.html

More information about the webkit-reviews mailing list