1 <input id=
"a" type=
"text" value=
"this text field has a lot of text in it so that it needs to scrol">
2 <input id=
"b" type=
"text" style=
"direction: rtl" value=
"this text field has a lot of text in it so that it needs to scrol">
3 <input id=
"c" type=
"text" value=
"this text field has a lot of text in it so that it needs to scrol">
4 <p>Tests scrolling back to the beginning when a text field blurs. The first field should be scrolled to the left, the second and third scrolled to the right.
</p>
6 var a
= document
.getElementById("a");
8 a
.setSelectionRange(66, 66);
9 if (window
.eventSender
) {
10 eventSender
.keyDown("l");
12 var b
= document
.getElementById("b");
14 b
.setSelectionRange(66, 66);
15 if (window
.eventSender
) {
16 eventSender
.keyDown("l");
18 var c
= document
.getElementById("c");
20 c
.setSelectionRange(66, 66);
21 if (window
.eventSender
) {
22 eventSender
.keyDown("l");