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

Re: [css3-images] Extending Jorrit's sprite proposal to irregular coordinates

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 24 Jul 2009 09:54:41 -0700
Message-ID: <4A69E751.30709@inkedblade.net>
To: Aryeh Gregor <Simetrical+w3c@gmail.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Aryeh Gregor wrote:
> On Thu, Jul 23, 2009 at 10:21 PM, Tab Atkins Jr.<jackalmage@gmail.com> wrote:
>> After some more thought since January, I like Jorrit's sprite
>> proposal[1].  It solves the problem of defining sprites in a single
>> location quite well, so if you need to adjust the positioning of the
>> sprites you need only make a change in one place.
>>
>> However, it fails to address sprites that are spaced irregularly on a
>> grid.  This can happen if one has multiple dissimilar images they are
>> trying to sprite, such as the Google image Jorrit references[2].
> 
> Can't we just require for simplicity that the sprites be evenly
> spaced?  If they're different sizes, the author can choose a spacing
> large enough to fit the largest.  I assume the extra stretches of
> empty space wouldn't add noticeable filesize.

See Tab's response, but see also
   http://blog.vlad1.com/2009/06/22/to-sprite-or-not-to-sprite/

~fantasai
Received on Friday, 24 July 2009 17:55:09 GMT

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