Last active
September 28, 2020 16:02
-
-
Save jeff-at-livecanvas/bb1a803465419c62d623305daf6722cd to your computer and use it in GitHub Desktop.
Iframe loading = lazy: why does it load so early?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<h1 style="margin-bottom:2000px" >Scroll down to trigger the image load.</h1> | |
<iframe src="https://davidwalsh.name/" loading="lazy" onload="alert('Loaded!');" /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment