<!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>', | |
'<div>^There is a tide<br>in the affairs of men|</div>', | |
'<div>Which taken at the flood</div>', | |
'</div>', | |
], | |
'Delete', | |
[ | |
'<div contenteditable>', | |
'<div>|<br></div>', | |
'<div>Which taken at the flood</div>', | |
'</div>', | |
]); | |
</script> |