Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / input / caret-at-the-edge-of-input.html
blob0a5ef59cd47b8c5d56cdbc042f4b43555c4ab498
1 <!DOCTYPE html>
2 <head>
3 </head>
4 <body>
5 <div>When the caret reaches the edge of the input box, on the next input if must jump to the center of the control.</div>
6 <input type="text" name="input-edit" id="input-edit" size="10" value="012345678901234567890123456789" />
7 <script>
9 var inputEdit = document.getElementById("input-edit");
10 inputEdit.focus();
11 var inputEditContent = inputEdit.value;
12 inputEdit.setSelectionRange(0, 0);
13 if (window.eventSender) {
14 for (var i = 0; i < inputEdit.size * 1.2; ++i)
15 eventSender.keyDown(inputEditContent[i]);
18 </script>
19 </body>