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

Let's consider this simple case: 

```
<div id="editable" contenteditable="true">
    <table border="1"><tr><td>A</td><td></td></tr></table>
</div>
```

Place editing cursor after the "A" and press backspace, so the only cell in the table becomes empty. 

Both WebKit/Safari and Blink/Chrome delete the whole table.
Firefox and IE/Edge just delete the cell's content but keep the empty table.

I couldn't find anything in the specs to address this situation and it looks like a clearly interoperability issue. I'm implementing a fix for WebKit and Blink to match the behavior of Firefox and IE/Edge, but I'd need to clarify if this is the expected behavior we really want. 

-- 
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

Received on Friday, 9 June 2017 09:10:07 UTC