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

Re: Image sprites use cases

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 30 Aug 2009 17:27:48 -0700
Message-ID: <4A9B1904.1030507@mit.edu>
To: Brad Kemper <brad.kemper@gmail.com>
CC: Alex Kaminski <activewidgets@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style@w3.org
Brad Kemper wrote:
> .xp .checkbox.normal.small { background-image: 
> url(xp/checkbox/small.png#xywh=0,0,10,10); }
> .true{ background-image: url(#xywh=25,0,10,10); }
...
> That is, the hash part (#xywh=25,0,10,10) only changes the area within 
> the image, it does not change which file is loaded from the server.

That would break backwards compatibility; right now the latter is 
clearly pointing to the base URI of the stylesheet, per all the relevant 
URI RFCs...

-Boris
Received on Monday, 31 August 2009 00:28:31 GMT

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