Bug 35369
| Summary: | Forward delete inserts <br> and backspace is a nop inside last cell in table | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Julie Parent <jparent> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | enrica, rolandsteiner, tony |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
Julie Parent
Repro steps:
1. Given the following html: <div contentEditable><table><tr><td>1</td><td>2</td><tr><td>3</td><td>4<br><br></td></tr></table></div> (note the BRs, they matter)
2. But cursor on empty line in the last table cell
3a. Hit backspace/delete
3b. Hit delete/forward delete
Results:
3a. Nothing happens
3b. Another br is inserted
Expected Results:
3a. br is removed
3b. Nothing happens. Certainly, content shouldn't be added :)
Seen in webkit nightly r55168, but I suspect it has been around for a while, since I also see it in Chrome 5.0.317.2, which is webkit r54340.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Tony Chang
I think Roland said he would look at table bugs.
Roland Steiner
https://bugs.webkit.org/show_bug.cgi?id=35632 causes behavior 3a and should be fixed by the patch submitted there.
Behavior 3b is unaffected by that patch, however.