Bug 15014

Summary: Image ratio and max-width don't match expected
Product: WebKit Reporter: Alastair Campbell <ac>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://alastairc.ac/testing/webkit/max-width_images.html

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
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.