Bug 101209

Summary: resize image to fit in a div + keep ratio + centered horizontally and vertically + rounded corners
Product: WebKit Reporter: IwanUswak
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, IwanUswak
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description IwanUswak 2012-11-05 05:30:41 PST
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
Comment 1 Brent Fulgham 2022-07-13 11:42:01 PDT
I can't see any differences in behavior between Safari and Chrome.