W3C home > Mailing lists > Public > www-style@w3.org > September 2009

Re: Image sprites use cases

From: Alex Kaminski <activewidgets@gmail.com>
Date: Mon, 7 Sep 2009 11:56:06 +0200
Message-ID: <6328fb9a0909070256s14f00863x57e2aeece425d8e1@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Aryeh Gregor <Simetrical+w3c@gmail.com>, Boris Zbarsky <bzbarsky@mit.edu>, "www-style@w3.org" <www-style@w3.org>
On Sun, Sep 6, 2009 at 6:51 PM, Brad Kemper<brad.kemper@gmail.com> wrote:
> On Sep 6, 2009, at 9:29 AM, Aryeh Gregor <Simetrical+w3c@gmail.com> wrote:
>> On Sun, Sep 6, 2009 at 11:43 AM, Brad Kemper <brad.kemper@gmail.com>
>> wrote:
>>> No more so than any "new" image format, such as gradients (not that
>>> layered
>>> image formats like Photoshop files, TIFF, etc., are particularly new).
>> It's acceptable if gradients fall back to a solid color, if it affects
>> a reasonably small percentage of users.  I don't think there's any
>> acceptable general fallback for image sprites.  Showing the first
>> image surely isn't very useful in general -- most sprites I've seen
>> contain a number of unrelated images.
> Most I've used have been related images, such as the different states of a
> button, tab, icon, etc.

+1. From my experience the majority of sprites contain different states
of the same component.

Also the different component states are usually created by the graphic
artist as additional layers of the same image, not as multiple images.

Alex Kaminski
Received on Monday, 7 September 2009 10:00:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:39 UTC