Re: Image sprites use cases

On Thu, Sep 3, 2009 at 7:10 AM, Alex Kaminski<activewidgets@gmail.com> wrote:
> The package proposal is excellent and it covers very well the basic
> usage of image sprites (to reduce the number of http requests).
> However it still does not provide much help to the developers of web
> applications and component libraries who also need an efficient method
> to address many (possibly hundreds) of image fragments. Would it be
> right thing then to target the new CSS sprites technique to this
> advanced use case (UI components), possibly using something like
> image-region property, assuming that the basic sprites case is covered
> by the new packaging proposal?

The problems with image sprites (high memory footprint, hard to author
and maintain) would remain significant here.  It seems like your use
case could be solved if CSS provided a way to algorithmically
construct URLs for background images, or something of that sort.  I
don't know what a good proposal of that kind would look like, though.
Superficially, it seems kind of scary.  Why can't you just use a few
hundred CSS rules?

Received on Thursday, 3 September 2009 13:50:46 UTC