WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25460
Selection rects are wrong for text with SVG fonts
https://bugs.webkit.org/show_bug.cgi?id=25460
Summary
Selection rects are wrong for text with SVG fonts
Eric Seidel (no email)
Reported
2009-04-28 16:00:23 PDT
This can be seen by:
http://www.w3.org/Graphics/SVG/Test/20061213/htmlObjectHarness/full-pservers-grad-08-b.html
We use selection rects to compute the repaint rect for text. In the above case "Gradient On Stroke" has the top of the 'G' clipped off. Also, if you try and select the text, you'll see that the individual character rects are wrong. Some of this is due to use of objectBoundingBox() where we should be using repaintRectInLocalCoordinates(), but fixing those does not fix the whole bug.
Attachments
Add attachment
proposed patch, testcase, etc.
Nikolas Zimmermann
Comment 1
2011-06-20 01:28:52 PDT
Fixed in
r89233
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug