<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// TODO(yosin): We should move this test file to "editing/selection/"
selection_test(
[
'<div contenteditable dir="rtl" style="font-family: monospace;">',
'<p dir="rtl">\u05E7\u05D5 <span>[ ]</span> \u05E8\u05E8\u05E9\u05D5\u05DF</p>',
'<p dir="rtl">\u05E7\u05D5 <span>[| ]</span> \u05E9\u05E0\u05D9</p>',
'</div>',
],
selection => selection.modify('move', 'backward', 'line'),
[
'<div contenteditable dir="rtl" style="font-family: monospace;">',
'<p dir="rtl">\u05E7\u05D5 <span>[| ]</span> \u05E8\u05E8\u05E9\u05D5\u05DF</p>',
'<p dir="rtl">\u05E7\u05D5 <span>[ ]</span> \u05E9\u05E0\u05D9</p>',
'</div>',
]);
</script>