adele | 77712e9 | 2006-06-01 05:02:18 +0000 | [diff] [blame] | 1 | <head> |
| 2 | <script> |
| 3 | function test() |
| 4 | { |
rniwa@webkit.org | ada3c20 | 2012-06-20 03:28:42 +0000 | [diff] [blame] | 5 | if (window.testRunner) |
| 6 | testRunner.dumpAsText(); |
adele | 77712e9 | 2006-06-01 05:02:18 +0000 | [diff] [blame] | 7 | document.all.input.value = "PASS" |
rniwa@webkit.org | ada3c20 | 2012-06-20 03:28:42 +0000 | [diff] [blame] | 8 | if (window.testRunner) |
adele | 77712e9 | 2006-06-01 05:02:18 +0000 | [diff] [blame] | 9 | 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> |