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

Re: lazy loading for images via css

From: Liam R E Quin <liam@w3.org>
Date: Sat, 29 Jun 2013 12:16:05 -0400
Message-ID: <1372522565.9039.160.camel@slave.barefootcomputing.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: Felipe Nascimento de Moura <felipenmoura@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, www-style <www-style@w3.org>, brice@websailors.fr
On Sat, 2013-06-29 at 09:12 +0100, Simon Sapin wrote:
[...]
> > background-image: image(postponed "foo.png");
> 
> I think we’d only want the last one. First, redundant features that do 
> exactly the same thing should be avoided.
> 
> But more importantly it’s not just background images: CSS as more and 
> more places where images are used: list-style-image, border-image, 
> content, … We don’t want to define additional properties or syntax for 
> each of them. Adding stuff in image() has the advantage of being 
> self-contained.

I wonder if an alternative would be an on-demand( <url> ) function that
could go anywhere that url() can go today? Then it could work for
sounds, or other resources.

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Saturday, 29 June 2013 16:16:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC