Bug 101209
Summary: | resize image to fit in a div + keep ratio + centered horizontally and vertically + rounded corners | ||
---|---|---|---|
Product: | WebKit | Reporter: | IwanUswak |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | bfulgham, IwanUswak |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
IwanUswak
doesn't work with banner images
see here: http://jsfiddle.net/infoman/5fzET/5/
also see this related question on stackoverflow: http://stackoverflow.com/questions/13232247/resize-image-to-fit-in-a-div-keep-ratio-centered-horizontally-and-vertically
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
I can't see any differences in behavior between Safari and Chrome.