Re: lazy loading for images via css

> Why are we doing this via CSS?  It seems better suited to a content
> attribute. 
It could be an improvement of the "async" attribute which could stop
being a boolean and start allowing other values, like
async="none|async|postponed|..." and be allowed to images and iframes as
well as script and link.
async="none" → direct loading
async="async" → as it is now, when every async="none" as been loaded
async="postponed" → loading when it appears in the view box
or
async="#element_id" → loading when the element #element_id is displayed

Some css equivalent should of course be added to manage this for
background-images.

Received on Friday, 28 June 2013 14:46:32 UTC