Bug 126710

Summary: Images can be painted with tiny aspect ratio differences
Product: WebKit Reporter: Tim Horton <thorton>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: hyatt, mitz, sam, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Tim Horton
Reported 2014-01-09 12:14:40 PST
At paint time, the aspect ratio of the source and destination rects can be slightly different when the image is scaled down (when one but not both of width or height attributes are set). This happens because the image size is scaled and then rounded to int for the destination rect. This means that images are getting squished a *tiny* amount when scaled down, and also caused http://trac.webkit.org/changeset/161568.
Attachments
Radar WebKit Bug Importer
Comment 1 2015-06-24 12:26:17 PDT
Note You need to log in before you can comment on or make changes to this bug.