<!-- | |
| Test that onload event is fired even though the link file doesn't exist. | |
--> | |
<html> | |
<head> | |
<style> | |
body { | |
font-size: 60px; | |
} | |
</style> | |
<link rel="stylesheet" type="text/css" href="not_exist.css"> | |
</head> | |
<body> | |
<script> | |
window.onload = function() { | |
document.getElementById('text-box').innerHTML = "onload event fired." | |
} | |
</script> | |
<div id="text-box"></div> | |
</body> | |
</html> |