A partial archive of discourse.wicg.io as of Saturday February 24, 2024.

Add loading=lazy attribute to details element

bahrus
2022-12-06

It would be nice to be able to add the loading=lazy attribute to the details element, which would default all images and iframes within to lazy load.

suns
2022-12-07

perhaps it should follow same protocol as hydration?

simevidas
2022-12-11

How about general delegated loading attribute? You set it on a <div> or any other element, and it inherits to all contained images and iframes.

bahrus
2022-12-12

Sounds great!