4 ms·
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 thing
by pupppet 6y 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.
- charrondev 6y agoFor images where you don’t declare the ratio it can’t completely determine the width until the image is loaded.
- pupppet 6y agoIf 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.