blob: 841e5897e1562d671fd9fd577e49d806c89df3ba [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Width and height properties of a detached input element should return 0.');
var input = document.createElement('input');
input.type = 'image';
shouldBe('input.width', '0');
shouldBe('input.height', '0');
</script>
<script src="../../../resources/js-test-post.js"></script>