OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/link-load-utilities.js"></script> | 4 <script src="resources/link-load-utilities.js"></script> |
5 <link rel="stylesheet" href="resources/stylesheet.css" onload="testPassedAndNoti
fyDone('Fired Load event.')" onerror="testFailedAndNotifyDone('Fired Error event
. Should have fired Load event.')"> | |
6 </head> | 5 </head> |
7 <body> | 6 <body> |
8 <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 FAI
LED.</p> | 7 <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 FAI
LED.</p> |
9 <pre id="console"></pre> | 8 <pre id="console"></pre> |
| 9 <link rel="stylesheet" href="resources/stylesheet.css" onload="testPassedAndNoti
fyDone('Fired Load event.')" onerror="testFailedAndNotifyDone('Fired Error event
. Should have fired Load event.')"> |
10 </body> | 10 </body> |
11 </html> | 11 </html> |
OLD | NEW |