[Webkit-unassigned] [Bug 30399] <mask> and <pattern> don't handle texts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 13 13:18:41 PST 2010


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





--- Comment #3 from Nikolas Zimmermann <zimmermann at kde.org>  2010-01-13 13:18:41 PST ---
(In reply to comment #2)
> The problem is in renderSubtreeToImage() (SVGRenderSupport.cpp). We set the
> paintInfo.rect to en empty IntRect.
> 
>     RenderObject::PaintInfo info(image->context(), IntRect(),
> PaintPhaseForeground, 0, 0, 0);
> 
> This causes problems in RenderSVGText::paint(). RenderSVGText::paint() calls
> 
>     RenderBlock::paint(pi, 0, 0);
> 
> and RenderBlock::paint intersects visibleOverflowRect() with paintInfo.rect and
> returns if this intersection is empty. But even disabling the return for
> testing didn't solve the problem. I had to add the paintInfo.rect of the
> SVGResource and the renderer with the relation to this resource to
> renderSubtreeToImage() manually to get texts working. Sounds a bit complicated
> atm :-P

Yeah, it's a bit involved. We need to fix SVG text renderers first, otherwhise
there will be no clean solution available.

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