-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify <iframe loading=lazy> #5496
Comments
Thanks for filing this! I'm happy to take this. I think #5236 should probably a blocker for this, since it is mostly about creating some Intersection Observer infrastructure that we reuse for images and iframes (and other things) in a more reusable and interoperable way. |
Thanks, @zcorpan! It's time... :) From the Chrome side:
|
Thanks @addyosmani. Just to clarify, it seems that given our latest blink-dev update, we won't be moving our implementation of iframe lazy-loading behind a flag, while developers are still discouraged from using it until it is fully standardized. |
#3752 originally included the
loading
attribute for bothimg
andiframe
. This was shipped in Chrome. I think after Chromium's intent to ship (for both img and iframe) was approved, we narrowed the scope of the spec PR to only specifyloading
forimg
.It appears there is interest from Gecko and WebKit for the
iframe
case as well, but it not being specified is a problem:https://bugzilla.mozilla.org/show_bug.cgi?id=1622090
https://bugs.webkit.org/show_bug.cgi?id=196698
I think now seems like a good time to specify
<iframe loading=lazy>
.The text was updated successfully, but these errors were encountered: