2 Some text before the floats.
3 <div style=
"float: left;">
4 <textarea rows=
"1" id=
"floatedEditable">Drag from the middle.
</textarea>
6 <div style=
"width: 100%; float: left;">
7 Some floated text in a div.
9 Some text after the floats.
10 <p style=
"padding-top: 1em;">
11 To test manually, drag from the middle of the textarea to the
12 right, into the non-floated text. The selection should go to the end
13 of the input element and not jump to the beginning.
16 <pre id=
"console"></pre>
17 <script src=
"resources/select-out-of-floated-editable.js"></script>