3 <meta http-equiv="content-type" content="text/html; charset=utf-8">
6 <p>Move the caret upwards from [ ] on the second line. The caret should appear in the green box inside [ ] on the first line.</p>
7 <div dir="rtl" contentEditable="true" style="font-family: monospace;">
8 <p dir="rtl">קו <span id="target" style="background-color:green">[ ]</span> ראשון<br></p>
9 <p dir="rtl">קו <span id="test">[ ]</span> שני<br></p>
11 <div id="results">FAILED</div>
12 <script src="../editing.js"></script>
14 function editingTest()
16 execMoveSelectionForwardByCharacterCommand();
17 execMoveSelectionBackwardByLineCommand();
19 // Verify that we ended up in "target".
20 if (window.getSelection().anchorNode.parentNode == document.getElementById("target"))
21 document.getElementById("results").innerText = "PASS";
23 runDumpAsTextEditingTest(false);