[Webkit-unassigned] [Bug 39965] SVG repaintRect should be empty if content got clipped away

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 1 04:29:40 PDT 2010


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


Nikolas Zimmermann <zimmermann at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zimmermann at kde.org




--- Comment #4 from Nikolas Zimmermann <zimmermann at kde.org>  2010-06-01 04:29:40 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > Please enlighten me.
> Sure :-) Imagine a RenderPath object. The object has a clipper as resource. This clipper clips away the whole content of the object. Therefore we don't run through the rendering process in RenderPath::paint, because the repaintRect is zero. No problem up to here.
> 
> Now we change the clipPath of the clipper. The resource (the clipper) tells its references to relayout. But we add the object to the resource during the paint phase in applyResource(). But we didn't enter this phase for the object, because the repaintRect was empty. Therefore the resource don't know of the referencing object, our RenderPath. This means that the RenderPath doesn't get relayouted and still don't get painted.
> 
> A complicated scenario, but we already have tests in DRT for this.

Ah, good explaination. Can you somehow move that into a comment, explaining why you're adding this Masker/ClipperData/.. at this point? That would be perfect.

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