chromium/third_party/blink/web_tests/editing/execCommand/5569741.html

<!doctype HTML>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// This tests for a bug where hitting return inside an empty paragraph in a
// non-empty list item would remove it.
selection_test(
  [
    '<div contenteditable>',
      '<ul>',
        '<li>foo<br><br>|</li>',
      '</ul>',
    '</div>',
  ],
  'insertParagraph',
  [
    '<div contenteditable>',
      '<ul>',
        '<li>foo<br><br></li>',
        '<li>|<br></li>',
      '</ul>',
    '</div>',
  ],
  'insertParagraph at empty paragraph in list item');
</script>