[webkit-reviews] review requested: [Bug 18786] Once rendered, SVG text elements removed from DOM continue to be displayed : [Attachment 20910] First attempt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 1 04:10:57 PDT 2008


Rob Buis <rwlbuis at gmail.com> has asked	for review:
Bug 18786: Once rendered, SVG text elements removed from DOM continue to be
displayed
http://bugs.webkit.org/show_bug.cgi?id=18786

Attachment 20910: First attempt
http://bugs.webkit.org/attachment.cgi?id=20910&action=edit

------- Additional Comments from Rob Buis <rwlbuis at gmail.com>
The problem here is that the inline textbox structures are destroyed before the

repaint in RenderContainer::removeChildNode is done. That means the bounding
box
for the RenderSVGInlineText is empty at the time of repaint, as well as for
RenderSVGText. It seems for html text this is no problem as the layer system
takes care of repainting. The patch fixes it by repainting "manually" before
destroying.
The testcase is tricky. I hope it can be done as text only dump, but I guess it
is not possible as this is a rendering error.
Cheers,

Rob.


More information about the webkit-reviews mailing list