{"action":"created","issue":{"url":"https://api.github.com/repos/aFarkas/lazysizes/issues/105","labels_url":"https://api.github.com/repos/aFarkas/lazysizes/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/aFarkas/lazysizes/issues/105/comments","events_url":"https://api.github.com/repos/aFarkas/lazysizes/issues/105/events","html_url":"https://github.com/aFarkas/lazysizes/issues/105","id":80936091,"number":105,"title":"Using lazysizes' own respimg polyfill, can we leave out sizes completely?","user":{"login":"bitinn","id":1484279,"avatar_url":"https://avatars.githubusercontent.com/u/1484279?v=3","gravatar_id":"","url":"https://api.github.com/users/bitinn","html_url":"https://github.com/bitinn","followers_url":"https://api.github.com/users/bitinn/followers","following_url":"https://api.github.com/users/bitinn/following{/other_user}","gists_url":"https://api.github.com/users/bitinn/gists{/gist_id}","starred_url":"https://api.github.com/users/bitinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitinn/subscriptions","organizations_url":"https://api.github.com/users/bitinn/orgs","repos_url":"https://api.github.com/users/bitinn/repos","events_url":"https://api.github.com/users/bitinn/events{/privacy}","received_events_url":"https://api.github.com/users/bitinn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T12:17:06Z","updated_at":"2015-05-26T12:35:42Z","closed_at":"2015-05-26T12:35:42Z","body":"As far as I know `sizes` is `100vw` by default? Does the polyfill handle this scenario?\r\n\r\nI do have `display: inline-block` set on images in most case, but not sure how efficient `data-sizes=\"auto\"` will be. Looks like it has to read actual element width (and recursively goes up parentNode if `< 40`?).\r\n\r\nMixing it with `lazysizes` means browser has to do more DOM read/write batching (I would guess you have optimized that with rAF, but still, if the default case is handled, I would like to avoid it).\r\n\r\nApologize in adavance if I misunderstood anything."},"comment":{"url":"https://api.github.com/repos/aFarkas/lazysizes/issues/comments/105509912","html_url":"https://github.com/aFarkas/lazysizes/issues/105#issuecomment-105509912","issue_url":"https://api.github.com/repos/aFarkas/lazysizes/issues/105","id":105509912,"user":{"login":"bitinn","id":1484279,"avatar_url":"https://avatars.githubusercontent.com/u/1484279?v=3","gravatar_id":"","url":"https://api.github.com/users/bitinn","html_url":"https://github.com/bitinn","followers_url":"https://api.github.com/users/bitinn/followers","following_url":"https://api.github.com/users/bitinn/following{/other_user}","gists_url":"https://api.github.com/users/bitinn/gists{/gist_id}","starred_url":"https://api.github.com/users/bitinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitinn/subscriptions","organizations_url":"https://api.github.com/users/bitinn/orgs","repos_url":"https://api.github.com/users/bitinn/repos","events_url":"https://api.github.com/users/bitinn/events{/privacy}","received_events_url":"https://api.github.com/users/bitinn/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T12:35:42Z","updated_at":"2015-05-26T12:35:42Z","body":"OK, done my test, works in Chrome (which natively support `w` descriptor) but not in Safari (doesn't have native support for `w`), so answer to my early question is **no** then.\r\n\r\nBut I realize in most case I might just want `data-sizes=\"auto\"` (image grid size is defined in media query, so really has little to do with screen width)."}}