{"action":"created","issue":{"url":"https://api.github.com/repos/ResponsiveImagesCG/picture-element/issues/268","labels_url":"https://api.github.com/repos/ResponsiveImagesCG/picture-element/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/ResponsiveImagesCG/picture-element/issues/268/comments","events_url":"https://api.github.com/repos/ResponsiveImagesCG/picture-element/issues/268/events","html_url":"https://github.com/ResponsiveImagesCG/picture-element/issues/268","id":92832269,"number":268,"title":"The `width` attribute","user":{"login":"yoavweiss","id":786187,"avatar_url":"https://avatars.githubusercontent.com/u/786187?v=3","gravatar_id":"","url":"https://api.github.com/users/yoavweiss","html_url":"https://github.com/yoavweiss","followers_url":"https://api.github.com/users/yoavweiss/followers","following_url":"https://api.github.com/users/yoavweiss/following{/other_user}","gists_url":"https://api.github.com/users/yoavweiss/gists{/gist_id}","starred_url":"https://api.github.com/users/yoavweiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoavweiss/subscriptions","organizations_url":"https://api.github.com/users/yoavweiss/orgs","repos_url":"https://api.github.com/users/yoavweiss/repos","events_url":"https://api.github.com/users/yoavweiss/events{/privacy}","received_events_url":"https://api.github.com/users/yoavweiss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-03T09:22:43Z","updated_at":"2015-09-15T23:43:51Z","closed_at":null,"body":"During discussions about Client-Hints, where it makes sense to include the `width` attribute in the outgoing `Width` hint, since it can be useful to retrofit responsive images to legacy sites, @foolip suggested that it may make sense to include the same logic in srcset, and I think it makes a lot of sense.\r\n\r\nBasically, the same logic applies. If `sizes` is missing and `width` is there and contains a non-% value, we should use the `width` value as the `source-size-value` (or add some \"if `sizes` is not there, use `width` logic to [the consumer of \"parse a sizes attribute\"](https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element:parse-a-sizes-attribute).\r\n\r\n@zcorpan - WDYT?"},"comment":{"url":"https://api.github.com/repos/ResponsiveImagesCG/picture-element/issues/comments/140581835","html_url":"https://github.com/ResponsiveImagesCG/picture-element/issues/268#issuecomment-140581835","issue_url":"https://api.github.com/repos/ResponsiveImagesCG/picture-element/issues/268","id":140581835,"user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T23:43:51Z","updated_at":"2015-09-15T23:43:51Z","body":"*bump* ... any blockers to resolve this? This is an important feature for Client Hints."}}