Bug 28348

Summary: Huge negative text-indent (e.g. for image replacement) results in huge layer
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
See Also: https://bugs.webkit.org/show_bug.cgi?id=85318
Attachments:
Description Flags
Testcase none

Description Simon Fraser (smfr) 2009-08-15 20:28:36 PDT
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.