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

<!doctype html>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="../../assert_selection.js"></script>
<div id="log"></idv>
<script>
// This tests for sentence boundary when there are empty line break between
// lines of text.
selection_test(
  '<div contenteditable>foo|<div><br></div>bar</div>',
  selection => selection.modify('move', 'forward', 'sentence'),
  '<div contenteditable>foo<div>|<br></div>bar</div>',
  '1 move forward sentence to empty line break');

selection_test(
  '<div contenteditable>foo<div>|<br></div>bar</div>',
  selection => selection.modify('move', 'forward', 'sentence'),
  '<div contenteditable>foo<div><br></div>|bar</div>',
  '2 move forward sentence from empty line break');
</script>