| <!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>', |
| '<blockquote type="cite"><br></blockquote>|', |
| 'ab', |
| '</div>', |
| ], |
| 'Delete', |
| [ |
| '<div contenteditable>', |
| '<blockquote type="cite">|ab</blockquote>', |
| '</div>', |
| ], |
| '1 Delete to replace empty blockquote placeholder BR with following text'); |
| |
| selection_test( |
| [ |
| '<div contenteditable>', |
| '<blockquote type="cite">ab<br><br></blockquote>|', |
| 'CD', |
| '</div>', |
| ], |
| 'Delete', |
| [ |
| '<div contenteditable>', |
| '<blockquote type="cite">ab<br>|CD</blockquote>', |
| '</div>', |
| ], |
| '2 Delete to replace blockquote placeholder BR with following text'); |
| </script> |