mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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
10 lines
283 B
Plaintext
10 lines
283 B
Plaintext
<html>
|
|
<import src="resources/does-not-export.sky" as="hello" />
|
|
<import src="../resources/dump-as-text.sky" />
|
|
<div id="result">FAIL - Script did not execute</div>
|
|
<script>
|
|
document.getElementById("result").textContent =
|
|
hello === undefined ? "PASS" : "FAIL";
|
|
</script>
|
|
</html>
|