blob: a2e23aefcc9c148a6559c82be5f150823e09ea02 [file] [log] [blame]
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
<script>
jsTestIsAsync = true;
</script>
</head>
<body>
<input type="image" id="imageElement" src="resources/green.jpg">
<div id="console"></div>
<script language="JavaScript">
document.onreadystatechange = function() {
readyState = document.readyState;
if (readyState == 'complete') {
e = document.getElementById("imageElement");
e.style = "display:none";
shouldBe('e.width', '16');
shouldBe('e.height', '16');
finishJSTest();
}
}
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>