chromium/third_party/blink/web_tests/editing/execCommand/insert-ordered-list-create-correct-selection.html

<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// Selection should be restored correctly based
// on previous selection after list is applied.
selection_test(
  [
    '<div contenteditable>',
    '^<p>A</p>',
    '<p>B</p>',
    '<p>C</p>',
    '<p>D</p>',
    '<p>E</p>',
    '<p>F|</p>',
    '<p>This should not be highlighted</p>',
    '</div>'
  ],
  'insertOrderedList',
  [
    '<div contenteditable>',
    '<p>',
    '<ol>',
    '<li>^A</li>',
    '<li>B</li>',
    '<li>C</li>',
    '<li>D</li>',
    '<li>E</li>',
    '<li>F|</li>',
    '</ol>',
    '</p>',
    '<p>This should not be highlighted</p>',
    '</div>'
  ],
  'This is test for correct selection');
</script>