Adam Barth 8323fb1e88 Basic implementation of <import>
This CL adds basic support for the <import> elements. We're using the same imports
machinery as <link rel="import">, which simplifies this patch substantially.

Currently we support both <link rel="import"> and <import>. Once this CL lands, I'll
update all the existing modules and then we can drop support for
<link rel="import">.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/681983005
2014-11-03 10:14:09 -08:00

9 lines
211 B
Plaintext

<html>
<import src="../resources/dump-as-text.sky" />
<import src="resources/pass.sky" as="hello" />
<div id="result">FAIL</div>
<script>
document.getElementById("result").textContent = hello;
</script>
</html>