Re: [CSS] Image sprites and catalogs

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 UTC