Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Compatibility with loading attribute #331
I was already thinking about it... I don't think it's possible, because
<img src="celebration.jpg" loading="lazy" alt="..." /> <iframe src="video-player.html" loading="lazy"></iframe>
I'm assuming that if the
Anyway I'm going to read Addy's post through and see if it can be done somehow.
Thank you for the hint!
I'm going to add a new option, something like
(*) big question: set the default value to
I guess that since the native
As far as I can see, Chrome is downloading images all the way down even if the user didn't scroll by any pixel.
This is NOT the same goal that this script aims to pursue.
The main difference is that, using this LazyLoad script, the images outside of the viewport (plus the
So yes, I can continue developing this feature, but I think that in the end nobody would use it, since the final result would be very different.
What do you think?
From the spec, the native lazy loading should
Also to note
This is used to fetch the images dimensions and prevent any content reflow.
Hey folks. Sorry for the slow reply here. I've been silently pushing updates to my article about how our current implementation in Chrome works. We're still in the process of figuring out a number of details and
I would personally label any use of