chromium/third_party/blink/web_tests/editing/selection/modify_move/move_right_character_35_ltr.html

<!doctype html>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="../../assert_selection.js"></script>
<script>

selection_test(
  '<div contenteditable dir="ltr">|abc\u05D0def</div>',
  selection => selection.modify('move', 'right', 'character'),
  '<div contenteditable dir="ltr">a|bc\u05D0def</div>',
  '35-0 ltr right character');

selection_test(
  '<div contenteditable dir="ltr">a|bc\u05D0def</div>',
  selection => selection.modify('move', 'right', 'character'),
  '<div contenteditable dir="ltr">ab|c\u05D0def</div>',
  '35-1 ltr right character');

selection_test(
  '<div contenteditable dir="ltr">ab|c\u05D0def</div>',
  selection => selection.modify('move', 'right', 'character'),
  '<div contenteditable dir="ltr">abc|\u05D0def</div>',
  '35-2 ltr right character');

selection_test(
  '<div contenteditable dir="ltr">abc|\u05D0def</div>',
  selection => selection.modify('move', 'right', 'character'),
  '<div contenteditable dir="ltr">abc\u05D0|def</div>',
  '35-3 ltr right character');

selection_test(
  '<div contenteditable dir="ltr">abc\u05D0|def</div>',
  selection => selection.modify('move', 'right', 'character'),
  '<div contenteditable dir="ltr">abc\u05D0d|ef</div>',
  '35-4 ltr right character');

selection_test(
  '<div contenteditable dir="ltr">abc\u05D0d|ef</div>',
  selection => selection.modify('move', 'right', 'character'),
  '<div contenteditable dir="ltr">abc\u05D0de|f</div>',
  '35-5 ltr right character');

selection_test(
  '<div contenteditable dir="ltr">abc\u05D0de|f</div>',
  selection => selection.modify('move', 'right', 'character'),
  '<div contenteditable dir="ltr">abc\u05D0def|</div>',
  '35-6 ltr right character');

selection_test(
  '<div contenteditable dir="ltr">abc\u05D0def|</div>',
  selection => selection.modify('move', 'right', 'character'),
  '<div contenteditable dir="ltr">abc\u05D0def|</div>',
  '35-7 ltr right character');
</script>