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

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

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Fri, 24 Jul 2009 06:59:42 -0400
Message-ID: <7c2a12e20907240359q51a5ba80l2018e3fc8708bbf9@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
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.
Received on Friday, 24 July 2009 11:00:22 GMT

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