W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [CSS] Image sprites and catalogs

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 4 Mar 2012 21:48:02 -0800
Message-ID: <CAAWBYDBqYkgRvAo9zRA_vRTFno88=Ec-MLTaNPjwmSB0Dp4Ljw@mail.gmail.com>
To: Yao Wei (魏銘廷) <mwei@lxde.org>
Cc: www-style list <www-style@w3.org>, Andrew Fedoniouk <a.fedoniouk@gmail.com>, Brad Kemper <brad.kemper@gmail.com>
On Mar 4, 2012 7:31 PM, "Yao Wei (魏銘廷)" <mwei@lxde.org> wrote:
>
> How about accepting tarballed images with a syntax like that?
>
> Using andrew's example:
>
> @image-list MyIcons {
>   image: url(my-huge-catalog.tar.gz);
> }
>
> then we can pick up image such as: MyIcons(icons.png);
>
> It could make making a single image archive simpler while keeping one
> HTTP request.

There's no reason to bake this sort of mechanism into a limited use CSS api
- if we did something like that, we'd instead make it something that the
whole web stack can use. Mozilla (and many others) have proposed this sort
of thing before, but its generally obsoleted by SPDY/HTTP2 now.

~TJ
Received on Monday, 5 March 2012 05:48:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:51 GMT