Bug 45439

Summary: Images with percent height inside a floated div should use intrinsic height.
Product: WebKit Reporter: Luke Macpherson <macpherson>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on: 47156    
Bug Blocks:    

Luke Macpherson
Reported 2010-09-08 23:00:03 PDT
For the following snippet: <div style="float: left;"> <img style="width: 100%; height: 100%;"/> </div> Webkit renders the image with height 100% of the window, while IE and Firefox render the image at the intrinsic height of the image. See chromium bug: http://code.google.com/p/chromium/issues/detail?id=29380
Attachments
Nikolas Zimmermann
Comment 1 2011-07-23 05:01:48 PDT
47156 fixes this.
Nikolas Zimmermann
Comment 2 2011-10-31 08:29:35 PDT
Fixed in r98852.
Note You need to log in before you can comment on or make changes to this bug.