blob: acd0660eb73aa21fb47cb50d99028c17a45c87d1 [file] [log] [blame]
<html>
<body>
<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>