Lazy loading of images across different browsers
A colleague pinged me today over an IE6 issue where she saw background images on elements with style 'display:none' are getting loaded on IE6 on page load but not on Firefox.
My first take was, this shouldn't be an issue at all. I mean, browser developers should have this freedom to decide whether they want to load these images upfront or on-demand. As an UI developer, if I want to have lazy loading on particular elements, especially images, I should handle that explicitly.
I could check with Chrome and found that it also loads those 'display:none' images upfront. So, absolutely nothing wrong there.