chromium/third_party/blink/web_tests/editing/selection/extend/extend_selection_14_ltr_left_lineboundary.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">|\n Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-0 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n| Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-1 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-2 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n J|ust\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |J^ust\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-3 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Ju|st\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Ju^st\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-4 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Jus|t\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Jus^t\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-5 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just|\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just^\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-6 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n| <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n^ <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-7 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>|testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n^ <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-8 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>t|esting \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>t^esting \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-9 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>te|sting \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>te^sting \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-10 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>tes|ting \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>tes^ting \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-11 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>test|ing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>test^ing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-12 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testi|ng \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testi^ng \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-13 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testin|g \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testin^g \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-14 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing| \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing^ \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-15 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing |\u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing ^\u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-16 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing \u05E8|\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8^\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-17 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing \u05E8\u05E7</span>|\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7^</span>\n \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-18 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing \u05E8\u05E7</span>\n| \u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n^ \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-19 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing \u05E8\u05E7</span>\n |\u05D1\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n^ \u05D1\u05D5\u05D3\u05E7\n</div>',
  '14-20 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing \u05E8\u05E7</span>\n \u05D1|\u05D5\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n \u05D1^\u05D5\u05D3\u05E7\n</div>',
  '14-21 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5|\u05D3\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5^\u05D3\u05E7\n</div>',
  '14-22 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3|\u05E7\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3^\u05E7\n</div>',
  '14-23 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7|\n</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7^\n</div>',
  '14-24 ltr left lineboundary');

selection_test(
  '<div contenteditable dir="ltr">\n Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7\n|</div>',
  selection => selection.modify('extend', 'left', 'lineboundary'),
  '<div contenteditable dir="ltr">\n |Just\n <span>testing \u05E8\u05E7</span>\n \u05D1\u05D5\u05D3\u05E7^\n</div>',
  '14-25 ltr left lineboundary');
</script>