Bug 28348 - Huge negative text-indent (e.g. for image replacement) results in huge layer
Summary: Huge negative text-indent (e.g. for image replacement) results in huge layer
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-15 20:28 PDT by Simon Fraser (smfr)
Modified: 2024-03-16 22:25 PDT (History)
1 user (show)

See Also:


Attachments
Testcase (521 bytes, text/html)
2009-08-15 20:28 PDT, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.