15 lines
428 B
HTML
15 lines
428 B
HTML
<html>
|
|
<body>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
</script>
|
|
<label id="label">Label: <input type=text onfocus="document.getElementById('output').innerHTML = 'THIS TEST HAS PASSED'"></label>
|
|
<div id="output">THIS TEST HAS FAILED</div>
|
|
<script>
|
|
document.getElementById('label').focus()
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|