Bug 126710
| Summary: | Images can be painted with tiny aspect ratio differences | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Horton <thorton> |
| Component: | Images | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/21529604>