Created attachment 34913 [details] Testcase One of the common image-replacement techniques uses a large negative text-indent to hide the text. This causes RenderLayer::localBoundingBox() to return a large rect, which is then used to size compositing layers.