WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 45439
Images with percent height inside a floated div should use intrinsic height.
https://bugs.webkit.org/show_bug.cgi?id=45439
Summary
Images with percent height inside a floated div should use intrinsic height.
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug