RESOLVED FIXED 16188
SVG text redraw issues during scroll
https://bugs.webkit.org/show_bug.cgi?id=16188
Summary SVG text redraw issues during scroll
Stefan Springer
Reported 2007-11-29 05:12:54 PST
If SVG content is outside the visible space, and comes only into view when scrolling, the SVG might be drawn only partially. The problem is best reproducable when scrolling is slowly. Attachment will follow.
Attachments
(X)HTML file where the described problem occurs (the displayed formula is SVG). (8.77 KB, application/xhtml+xml)
2007-11-29 05:14 PST, Stefan Springer
no flags
Testcase for showcasing text rendering issue (51.87 KB, application/xhtml+xml)
2009-04-06 17:25 PDT, Hiren Joshi
no flags
Add text repaint test (7.50 KB, patch)
2009-04-28 14:54 PDT, Eric Seidel (no email)
hyatt: review+
Stefan Springer
Comment 1 2007-11-29 05:14:48 PST
Created attachment 17590 [details] (X)HTML file where the described problem occurs (the displayed formula is SVG).
Stefan Springer
Comment 2 2007-11-29 07:07:28 PST
Rendering of formula in the example file (see attachment in comment #1) is also incomplete (in another way, there is some incorrect clipping) when the displayed font size is made smaller via Control-"-" (making font size bigger via Control-"+" is OK).
Eric Seidel (no email)
Comment 3 2007-11-30 01:39:33 PST
I think this is a text-anchor="middle" redraw problem. I think we already have a bug on this.
Eric Seidel (no email)
Comment 4 2007-11-30 01:42:35 PST
Hum... maybe I was remembering bug 15564 which is not really related. Bug 15386 is possibly related as well.
Eric Seidel (no email)
Comment 5 2007-11-30 01:44:09 PST
Also possibly related to bug 15352 or bug 15402. We'll need to build a smaller reduction which just shows the repainting bug.
Adam Rofer
Comment 6 2007-11-30 13:08:48 PST
I would like to add that this seems possibly related to another bug: <a href="http://bugs.webkit.org/show_bug.cgi?id=15799">Bug 15799</a> I could be wrong, but this bug also relates to text repainting issues.
Hiren Joshi
Comment 7 2009-04-06 17:25:15 PDT
Created attachment 29295 [details] Testcase for showcasing text rendering issue When you resize the window, you get similar text cutoff behaviour as you get when scrolling. Incidentally, only happens on the rightmost SVG included in the parent XHTML document.
Hiren Joshi
Comment 8 2009-04-06 17:27:17 PDT
Rendering issue also present on Webkit nightly 5528.16, r42162 on Leopard (10.5.6)
Eric Seidel (no email)
Comment 9 2009-04-17 10:26:02 PDT
This is not fixed by bug 25268, but it's probably the same as bug 19366 and should be easy to fix in a follow-up patch.
Eric Seidel (no email)
Comment 10 2009-04-28 14:40:31 PDT
This was fixed by the fix for bug 25431. I'll make a test case for this case shortly.
Eric Seidel (no email)
Comment 11 2009-04-28 14:54:40 PDT
Created attachment 29863 [details] Add text repaint test 5 files changed, 96 insertions(+), 0 deletions(-)
Dave Hyatt
Comment 12 2009-04-28 14:57:03 PDT
Comment on attachment 29863 [details] Add text repaint test r=me
Eric Seidel (no email)
Comment 13 2009-04-28 14:59:57 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog A LayoutTests/platform/mac/svg/text/text-repaint-rects-expected.checksum A LayoutTests/platform/mac/svg/text/text-repaint-rects-expected.png A LayoutTests/platform/mac/svg/text/text-repaint-rects-expected.txt A LayoutTests/svg/text/text-repaint-rects.xhtml Committed r42964
Note You need to log in before you can comment on or make changes to this bug.