[Webkit-unassigned] [Bug 74002] Moving SVG elements on the page doesn't always erase element at the old position

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 8 12:16:52 PST 2011


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





--- Comment #1 from Florin Malita <fmalita at google.com>  2011-12-08 12:16:52 PST ---
Created an attachment (id=118443)
 --> (https://bugs.webkit.org/attachment.cgi?id=118443&action=review)
Reduced test - red box should not be visible

Tracked this down to RenderSVGContainer::layout():

    // Allow RenderSVGViewportContainer to update its viewport.
    calcViewport();

    LayoutRepainter repainter(*this, checkForRepaintDuringLayout() || selfWillPaint());


The viewport is updated before grabbing the old repaint bounds - hence repainter really holds the new bounds (inferred from the updated viewport). Later on in repaint, we're only seeing these new bounds and not repainting the old area.

I have a patch to swap the operations coming up shortly.

-- 
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