RESOLVED FIXED 135935
srcset with w descriptor and sizes does not behave as expected
https://bugs.webkit.org/show_bug.cgi?id=135935
Summary srcset with w descriptor and sizes does not behave as expected
Simon Pieters (:zcorpan)
Reported 2014-08-14 04:47:55 PDT
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3119 in Safari 8 in the iOS Simulator of XCode 6 beta 5 shows 'svg' for the first img, and 'image' for the second img. If sizes support is turned on, expected result is 'image' for the first img and 'svg' for the second img. If sizes is turned off, yoav says expected result is no image ('w' candidates should be dropped on the floor). Instead it seems all candidates are interpreted as 1x, so the first one in srcset gets chosen.
Attachments
Patch (2.81 KB, patch)
2014-08-14 06:18 PDT, Yoav Weiss
no flags
Yoav Weiss
Comment 1 2014-08-14 06:18:56 PDT
Radar WebKit Bug Importer
Comment 2 2014-08-14 12:12:21 PDT
WebKit Commit Bot
Comment 3 2014-08-14 12:47:00 PDT
Comment on attachment 236587 [details] Patch Clearing flags on attachment: 236587 Committed r172600: <http://trac.webkit.org/changeset/172600>
WebKit Commit Bot
Comment 4 2014-08-14 12:47:03 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.