blob: 38dc7c6e4f6f7bd7ec811987c1d0c8a360ad6bd4 (
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()
{
var tf = document.getElementById('tf');
tf.focus();
if (window.testRunner) {
eventSender.keyDown("a");
eventSender.keyDown("b");
eventSender.keyDown("c");
}
}
</script>
</head>
<body onload="test()">
This tests that a negative outline-offset won't get in the way of a cursor in a text control.<br>
<input id="tf" style="font-size: 20px; border: solid thin black;" value="This tests that typing doesn't cut holes in the focus outline"></input>
</body>
</html>
|