<!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 <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> |