Hacker News new | ask | show | jobs
by pupppet 1881 days ago
If we can lazy-load the image until the image is in view, we can lazy-load until its container width has been determined. I get there’s reasoning for how things behave as they do, my point is really we’re in this position due to lack of foresight by WHATWG/W3C.
1 comments

For images where you don’t declare the ratio it can’t completely determine the width until the image is loaded.
If you don't declare the width/height or intrinsicsize, then you've just opted out of loading an image by its container size, pretty simple.