chromium/third_party/blink/web_tests/editing/deleting/merge-no-br.html

<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// This places the caret before the 'T' in 'Two' and Deletes. 'One' and 'Two'
// should be merged but the blocks containing 'Three' and 'Four' should remain
// untouched.
selection_test(
    [
        '<div contenteditable>',
            '<div style="border: 3px solid red;">One</div>',
            '<div style="border: 3px solid green;">',
                '|Two',
                '<div style="border: 3px solid black;">Three</div>',
                'Four',
            '</div>',
        '</div>',
    ],
    'Delete',
    [
        '<div contenteditable>',
            '<div style="border: 3px solid red;">One|Two</div>',
            '<div style="border: 3px solid green;">',
                '<div style="border: 3px solid black;">Three</div>',
                'Four',
            '</div>',
        '</div>',
    ]);
</script>