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

[whatwg] HTML resource packages

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 6 Aug 2010 09:47:58 -0700
Message-ID: <AANLkTinq0SDxHdaJGnAq8U5_H8FhwKNCVQcrp67VFh2W@mail.gmail.com>
On Fri, Aug 6, 2010 at 12:46 AM, Christoph P?per
<christoph.paeper at crissov.de> wrote:
> 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.

This doesn't seem to make sense.  If you want resource packages
referenced before <head>, then the nearest appropriate location is
still <html>.  Moving it up to the transport layer isn't *wrong*, but
it's not *necessary* in this case.

Received on Friday, 6 August 2010 09:47:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC