W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: lazy loading for images via css

From: Brice PARENT <brice@websailors.fr>
Date: Fri, 28 Jun 2013 16:46:02 +0200
Message-ID: <51CDA1AA.9090907@free.fr>
To: www-style@w3.org
> 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
async="#element_id" → loading when the element #element_id is displayed

Some css equivalent should of course be added to manage this for
Received on Friday, 28 June 2013 14:46:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:31 UTC