Bug 173144 - Not possible to remove the text inside the table cell when using backspace outside the table cell
Summary: Not possible to remove the text inside the table cell when using backspace ou...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-09 03:14 PDT by Javier Fernandez
Modified: 2017-06-09 03:40 PDT (History)
6 users (show)

See Also:


Attachments
Test case to reproduce the issue (326 bytes, text/html)
2017-06-09 03:15 PDT, Javier Fernandez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Fernandez 2017-06-09 03:14:02 PDT
What steps will reproduce the problem?
(1) Load the attached test case
(2) Put the cursor at the end of the text bellow the table
(3) Hit backspace until delete the while line of text
(4) Hit backspace again
(5) Hit backspace again
(6) Hit backspace again

What is the expected result?
After step (4) the caret should be just after the last cell of the table above. 
After step (5) all the cells should be selected (according to https://webkit.org/b/24246).
After step (6) the whole table should be deleted 

What happens instead?
After step (4) the caret is placed inside the last cell of the table, which is empty in this case. 
After step (5) the caret is placed inside the last cell (empty)
After step (6) nothing happens
Comment 1 Javier Fernandez 2017-06-09 03:15:15 PDT
This seems an interoperability issue, since Firefox and IE/Edge behave quite different in the scenario described in the attached test case.
Comment 2 Javier Fernandez 2017-06-09 03:15:35 PDT
Created attachment 312417 [details]
Test case to reproduce the issue
Comment 3 Javier Fernandez 2017-06-09 03:40:38 PDT
According to 24236, hitting backspace on an empty cell should move the caret to the adjacent cell.