blob: ba97c37586f86e6878bc27192a2f027b0b11c6d2 [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:
| "
"
| <div>
| class="editing"
| id="test"
| "
<#selection-anchor>First
"
| <table>
| border="1"
| "
"
| <tbody>
| <tr>
| "
"
| <td>
| "1"
| "
"
| <td>
| "2"
| "
"
| <td>
| "3"
| "
"
| "
"
| <tr>
| "
"
| <td>
| "4"
| "
"
| <td>
| "5"
| "
"
| <td>
| "6"
| "
"
| "
"
| <tr>
| "
"
| <td>
| "7"
| "
"
| <td>
| "8"
| "
"
| <td>
| "9<#selection-focus>"
| "
"
| "
"
| "
Second
"
| "
"
AfterDeletion:
| "
"
| <div>
| class="editing"
| id="test"
| <#selection-caret>
| <br>
| "Second
"
| "
"