blob: 3871df47df33e001ba17786f264c338e4a0512ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<head>
<script>
function test()
{
if (window.testRunner)
testRunner.dumpAsText();
document.all.input.value = "PASS"
if (window.testRunner)
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>
|