blob: e5defb2f2663e33e4c78507bda149bff147d3cc2 [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"
| "
First
"
| <table>
| border="1"
| "
"
| <tbody>
| <tr>
| "
"
| <td>
| "<#selection-anchor>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"
| "
First<#selection-caret>"
| <br>
| "Second
"
| "
"