Re: Image sprites use cases

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