mitz@apple.com | 06dafc0 | 2011-10-22 05:52:52 +0000 | [diff] [blame] | 1 | <div id="target" style=" |
2 | margin: 100px; | ||||
3 | -webkit-columns: 3; | ||||
4 | width: 300px; | ||||
5 | height: 100px; | ||||
6 | -webkit-user-modify: read-write; | ||||
7 | outline: none; | ||||
8 | "> | ||||
9 | <br> | ||||
10 | <br> | ||||
11 | <br> | ||||
12 | <br> | ||||
13 | <br> | ||||
14 | <br> | ||||
15 | The blinking insertion point should be here → | ||||
16 | </div> | ||||
17 | <script> | ||||
18 | var target = document.getElementById("target"); | ||||
19 | target.focus(); | ||||
20 | getSelection().modify("move", "forward", "documentboundary"); | ||||
21 | </script> |