blob: 92f0082062fbe6dc425e0251230ae8a09097c731 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<html>
<head>
<script>
function test() {
document.getElementById('t1').focus();
if (window.eventSender) {
eventSender.keyDown("\t");
eventSender.keyDown("\t");
}
}
</script>
</head>
<body onload="test()">
This tests that you can tab out of a text field if an iframe comes after it.<br>
<input id="t1">
<iframe style="border: solid thin black"></iframe>
<input id="t2" value="This should have focus">
</body>
</html>
|