4 <div style=
"width: 6ex;" contenteditable=true
>
5 <div>hello world
</div><div><br></div>
7 <script src=
"../../resources/dump-as-markup.js"></script>
10 Markup
.description('This test moves up caret into a wrapped line. \n'
11 + 'i.e. the caret is moved from the empty line below "hello world" to before "world".');
13 var div
= document
.getElementsByTagName('div')[0];
15 getSelection().collapse(div
, div
.childNodes
.length
);
16 getSelection().modify('move', 'backward', 'line');