Re: lazy loading for images via css

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