[Webkit-unassigned] [Bug 78315] REGRESSION(99539): Infinite repaint loop with SVGImage and deferred repaint timers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 7 00:48:43 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=78315





--- Comment #19 from Nikolas Zimmermann <zimmermann at kde.org>  2012-03-07 00:48:42 PST ---
(In reply to comment #18)
> (In reply to comment #17)
> > (In reply to comment #16)
> > > To summarize: I think the drawSVGToImageBuffer approach is right in general, but still has some bugs. 
> > > You coudl try to call frame->view()->beginDefferedRepaints() after the setImageObserver(0) call, end endDeferredRepaints() after the restoring of it, and see if that affects anything.
> > 
> > That will just result in queueing all the repaints-we-don't-want up and firing them at the end :-D (experimental results agree)
> 
> Whereas adding a way to explicitly prevent FrameView from firing any repaints works fine. Not sure that's actually a reasonable thing to do, though.
Ah yeah, that's true - just deffering won't help, we need to clear these repaints.
I think its reasonable, as SVGImage is really special. We want to force layout, paint, and reset layout to the old state w/o any side effects (aka. triggering repainting or anything in the host document)...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list