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.
Created attachment 24994 [details]
The outline needs to be a bounding path, so we'll have to use beziers or something.