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 18:52:01 -0700
Message-ID: <4A9B2CC1.3070208@mit.edu>
To: Brad Kemper <brad.kemper@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
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).

Received on Monday, 31 August 2009 01:52:46 UTC

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