blob: eb7e182edf4dd2ebcfff389aa999c36624a57379 [file] [log] [blame]
For this test Select and delete a table. Expected Results:Only table should get deleted.Surrounding content that is not selected should (obviously) not be affected.
BeforeDeletion:
| "\n"
| <div>
| class="editing"
| id="test"
| "\n<#selection-anchor>First\n"
| <table>
| border="1"
| "\n"
| <tbody>
| <tr>
| "\n"
| <td>
| "1"
| "\n"
| <td>
| "2"
| "\n"
| <td>
| "3"
| "\n"
| "\n"
| <tr>
| "\n"
| <td>
| "4"
| "\n"
| <td>
| "5"
| "\n"
| <td>
| "6"
| "\n"
| "\n"
| <tr>
| "\n"
| <td>
| "7"
| "\n"
| <td>
| "8"
| "\n"
| <td>
| "9<#selection-focus>"
| "\n"
| "\n"
| "\nSecond\n"
| "\n"
AfterDeletion:
| "\n"
| <div>
| class="editing"
| id="test"
| <#selection-caret>
| <br>
| "Second\n"
| "\n"