chromium/third_party/blink/web_tests/editing/inserting/5156401-2.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><a href="#">Foo&nbsp;<br>|</a></div>',
  'InsertText bar baz.',
  '<div contenteditable><a href="#">Foo bar baz.|<br></a></div>',
  'Inserting at the end of a link should place content in the correct paragraph');
</script>