Bug 25460

Summary: Selection rects are wrong for text with SVG fonts
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: krit, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on: 59085    
Bug Blocks:    

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
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.