WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
15014
Image ratio and max-width don't match expected
https://bugs.webkit.org/show_bug.cgi?id=15014
Summary
Image ratio and max-width don't match expected
Alastair Campbell
Reported
2007-08-19 14:07:15 PDT
Where an image has a width imposed but no height, the image display does not maintain the aspect ratio of the image's actual size. Also, where there is a max-width set at 100%, an image does not respect that when the parent is less than that. I put a test case together at the URL above, other browsers (IE7, Opera & Gecko) seem to behave the same (and in the way I'd expected).
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2007-08-19 15:56:04 PDT
Alastair, have you tested this in the nightly?
Alastair Campbell
Comment 2
2007-08-19 16:29:01 PDT
Hmm, I had, but re-opening the test case with it looks fine. Does the webkit rendering not come through if you already have Safari open? My apologies, I had lots of browsers open at the time :-/
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