blob: cbcd094f19ec5b714770a675c913d26d6289a1df [file] [log] [blame]
<head>
<script>
function test()
{
if (window.layoutTestController)
layoutTestController.dumpAsText();
document.all.input.value = "PASS"
if (window.layoutTestController)
document.getElementById('res').innerText = document.all.input.value;
}
</script>
</head>
<body onload="test();">
<p>This tests setting inputs using document.all. If successful, the input should show PASS.<form>
<input name="input">
<div id="res"></div>
</body>