4 <script src=
"../HTMLLinkElement/resources/link-load-utilities.js"></script>
8 testPassed("Error event fired.");
9 shouldComputedColorOfElementBeEqualToRGBString(document
.getElementById("test"), "rgb(255, 255, 0)" /* yellow */);
13 <style onload=
"testFailedAndNotifyDone('Load event fired. Should have fired Error event.')" onerror=
"passed()">
14 @import
"resources/non-existent-stylesheet.css";
15 #test { color: yellow; }
19 <p>This tests that a Error event is fired at an HTML Style element whose @import style sheet failed to load. This test PASSED if there are only PASS messages below. Otherwise, it FAILED.
</p>
20 <h1 id=
"test"><!-- Test element --></h1>
21 <pre id=
"console"></pre>