2 Some text before the floats.
3 <div contenteditable=true
id=
"floatedEditable" style=
"float: left;">
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 editable div 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>