Re: [w3c/editing] Should deleting cell's content on a table inside a contenteditable area imply the whole table has to be deleted ? (#163)

> Ok, but all the usecases presented here involve deletion of selected content, right? 

Yes, they are all selection based. It's debatable in any case whether the table structure should be removed when deleting its content so that all the cells become empty. 

> So if you are thinking about usecases that don't invovle selected content, maybe you could present those as well?

Let's consider this case: 

```
<div contenteditable>
    <table border=1>
      <tbody>
        <tr><td>A</td></tr>
      </tbody>
    </table>
</div>
```

**Case1: Place caret after the letter "A" and hitting the backspace key**

* Chrome and Safari: The table structure gets deleted
* Firefox and Edge: The table cell gets empty, but the table structure isn't deleted.  

**Case2: Place caret before the letter "A" and hitting the delete key**

* Chrome and Safari: The table structure gets deleted
* Firefox and Edge: The table cell gets empty, but the table structure isn't deleted.  


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/163#issuecomment-388358272

Received on Friday, 11 May 2018 13:08:40 UTC