W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] HTML resource packages

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Fri, 6 Aug 2010 09:46:47 +0200
Message-ID: <83E7F0B4-325B-4A9D-AFCF-2F671701F531@crissov.de>
Justin Lebar:
> Christoph P?per <christoph.paeper at crissov.de> wrote:
>> 
>> Why do you want to put this on the HTML level (exclusively), not the HTTP level?
> 
> If you reference an image from a CSS file and include that CSS file in an HTML file which uses resource packages, the image can be loaded from the resource package.

Yeah, it?s still wrong. 

Resource packages in HTML seem okay for the image gallery use case (and then could be done with ?link?), but they?re commonly inappropriate for anything referenced from ?link?, ?script? and ?style? elements. Your remark on loading order just proves this point: you want resource packages referenced before ?head?. You should move one step further than the root element, i.e. to the transport layer.
Received on Friday, 6 August 2010 00:46:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:59 UTC