blob: 3871df47df33e001ba17786f264c338e4a0512ec [file] [log] [blame]
adele77712e92006-06-01 05:02:18 +00001<head>
2<script>
3function test()
4{
rniwa@webkit.orgada3c202012-06-20 03:28:42 +00005 if (window.testRunner)
6 testRunner.dumpAsText();
adele77712e92006-06-01 05:02:18 +00007 document.all.input.value = "PASS"
rniwa@webkit.orgada3c202012-06-20 03:28:42 +00008 if (window.testRunner)
adele77712e92006-06-01 05:02:18 +00009 document.getElementById('res').innerText = document.all.input.value;
10}
11</script>
12</head>
13<body onload="test();">
14<p>This tests setting inputs using document.all. If successful, the input should show PASS.<form>
15<input name="input">
16<div id="res"></div>
17</body>