<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="resources/link-load-utilities.js"></script> | |
<link rel="stylesheet" href="resources/stylesheet.css" onload="testPassedAndNotifyDone('Fired Load event.')" onerror="testFailedAndNotifyDone('Fired Error event. Should have fired Load event.')"> | |
</head> | |
<body> | |
<p>This tests that a Load event is fired at an HTML Link element once it loads a style sheet. This test PASSED if you see the word PASS below. Otherwise, it FAILED.</p> | |
<pre id="console"></pre> | |
</body> | |
</html> |