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 19:28:09 -0700
Message-Id: <9CAA9FB0-D487-42A3-A374-47FAE3D2030C@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: "www-style@w3.org" <www-style@w3.org>
On Aug 30, 2009, at 6:52 PM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:

> Brad Kemper wrote:
>> But since the URL of the stylesheet is not an especially useful  
>> thing to hang a hash value (or whatever that's actually called) on,  
>> I was thinking it would be more like the path and filename would  
>> form something like a "base URL" for a property, once it was  
>> assigned to that property to indicate an image file. If CSS  
>> declared this to be the case, would it really be a problem for the  
>> RFCs or any existing style sheets?
> Put that way no to the first and probably not to the second (though  
> you never know when someone got clever with content negotiation),  
> but it sounds like you're suggesting using some intermediate  
> cascaded value (not the specified value, not the computed value,  
> something entirely different) to assign the base url?  That seems  
> like it would cause problems for CSS itself, in terms of violating  
> the existing CSS processing model (where for example adding a new  
> rule that overrides all others and sets the value of a property to  
> what its computed value is without that rule doesn't change  
> anything; with your setup it sounds like it might).

Yeah, it would have to be a bit of an exception in that sense, or be  
handled through error handling, perhaps. 
Received on Monday, 31 August 2009 02:30:36 UTC

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