Summary: | SVG text redraw issues during scroll | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Stefan Springer <sspr> | ||||||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | hirenj | ||||||||
Priority: | P2 | Keywords: | NeedsReduction | ||||||||
Version: | 523.x (Safari 3) | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Bug Depends on: | 23881 | ||||||||||
Bug Blocks: | 19366 | ||||||||||
Attachments: |
|
Description
Stefan Springer
2007-11-29 05:12:54 PST
Created attachment 17590 [details]
(X)HTML file where the described problem occurs (the displayed formula is SVG).
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). I think this is a text-anchor="middle" redraw problem. I think we already have a bug on this. Hum... maybe I was remembering bug 15564 which is not really related. Bug 15386 is possibly related as well. Also possibly related to bug 15352 or bug 15402. We'll need to build a smaller reduction which just shows the repainting bug. 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. 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.
Rendering issue also present on Webkit nightly 5528.16, r42162 on Leopard (10.5.6) 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. This was fixed by the fix for bug 25431. I'll make a test case for this case shortly. Created attachment 29863 [details]
Add text repaint test
5 files changed, 96 insertions(+), 0 deletions(-)
Comment on attachment 29863 [details]
Add text repaint test
r=me
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 |