[Webkit-unassigned] [Bug 30399] <mask> and <pattern> don't handle texts
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 13 12:41:05 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=30399
--- Comment #2 from Dirk Schulze <krit at webkit.org> 2010-01-13 12:41:05 PST ---
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
--
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