This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21399 - [Imports]: Specify how URLs of external resources are resolved.
Summary: [Imports]: Specify how URLs of external resources are resolved.
Status: RESOLVED DUPLICATE of bug 19870
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20683
  Show dependency treegraph
 
Reported: 2013-03-26 15:55 UTC by Mike Kamermans
Modified: 2013-07-18 21:31 UTC (History)
0 users

See Also:


Attachments

Description Mike Kamermans 2013-03-26 15:55:33 UTC
"Fetch a resource from LOCATION, with DOCUMENT as override referrer source and block cookies flag set:"

How should locations for script and link elements be resolved? relative to the component.html that is being loaded, or relative to the page that's loading the components?

ie:

- index.html // <link rel="component" href="http://.../components.html">
- http://.../components.html // <script src="dependency.js"></script>

does the dependency load relative to components.html (I would hope) or relative to index.html? (which would make it hard to encapsulate multi-file components, necessitating putting everything in the .html file).

This might need explicit mention in the spec.
Comment 1 Dimitri Glazkov 2013-07-18 21:31:00 UTC

*** This bug has been marked as a duplicate of bug 19870 ***