Bug 22140

Summary: [Transforms] RenderFlow's behavior of accumulating focus rects for child renderers breaks with transforms
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase none

Description Simon Fraser (smfr) 2008-11-08 11:35:10 PST
RenderFlow::addFocusRingRects() recurses through its child renderers, accumulating focus rects on the GraphicsContext. This can never work correctly with transforms, since those children may be transformed, and thus will need to draw their part of the focus rects after altering the CTM on the graphics context.

In addition, the localToAbsolute() call for renderers with a layer breaks the focus rects when any parent has a transform.
Comment 1 Simon Fraser (smfr) 2008-11-08 11:38:48 PST
Created attachment 24994 [details]
Testcase
Comment 2 Simon Fraser (smfr) 2008-11-10 10:55:33 PST
The outline needs to be a bounding path, so we'll have to use beziers or something.