| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| var c = document.getElementById('console') |
| c.appendChild(document.createTextNode(str + '\n')); |
| debug('FAILURE: image loaded but complete is false!'); |
| debug('FAILURE: image width should be 52, was ' + i2.width) |
| debug('FAILURE: image width should be 64, was ' + i2.height) |
| testRunner.waitUntilDone(); |
| debug('FAILURE: Empty image should have complete set to true.'); |
| i2.src = 'resources/apple.gif'; |
| <body onload="runTests();"> |
| This tests that the Image JavaScript object works as expected. If the test is successful, the test "SUCCESS" should be shown below. |