Bug 126934

Summary: srcset renders 2x images at 2x width and height
Product: WebKit Reporter: Vicki Pfau <jeffrey+webkit>
Component: ImagesAssignee: Dean Jackson <dino>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: eoconnor, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Repro none

Vicki Pfau
Reported 2014-01-13 14:56:17 PST
Created attachment 221081 [details] Repro While testing srcset out on a 100x100px image with a 2x image, I discovered that in the nightlies, the 2x image is rendered 2x the width and height instead of the same width and height but with 2x density. A simple repro is attached.
Attachments
Repro (11.62 KB, application/zip)
2014-01-13 14:56 PST, Vicki Pfau
no flags
Theresa O'Connor
Comment 1 2014-01-13 16:38:33 PST
The intrinsic size of the image should be adjusted based on the candidate's Nx value. This is clear in the WHATWG spec, but is not currently clear in the W3C one. (It will become clear when I next pull in the relevant WHATWG changes.)
Radar WebKit Bug Importer
Comment 2 2014-01-14 15:59:54 PST
Theresa O'Connor
Comment 3 2014-01-29 13:47:14 PST
*** This bug has been marked as a duplicate of bug 123832 ***
Note You need to log in before you can comment on or make changes to this bug.