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

Re: Image sprites use cases

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sun, 30 Aug 2009 21:41:41 -0700
Message-Id: <F1E10EC1-420A-4759-907D-6C03BE1B193F@gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Alex Kaminski <activewidgets@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On Aug 30, 2009, at 7:40 PM, Brad Kemper <brad.kemper@gmail.com> wrote:

>> Note, though, that doing so *still* isn't backwards-compatible.  A
>> legacy browser would see the normal url(), ignore the
>> background-image-region property.
>
> I was thinking of that as a feature, not a problem, but maybe not.

What I mean, for instance is that I could use multiple backgrounds or  
a 'sliding doors' technique for a base button for compatibility. Then  
use the fragment notation, without respecifying the file name, to  
access the parts of the image that are clipped.

But in further thinking, I suppose this is still not much better than  
using background-position, and doesn't help much with using sprites  
with border-image. Oh well, it was a thought, and maybe it will  
trigger a better idea from someone else. 
Received on Monday, 31 August 2009 04:42:33 GMT

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