Open Bug 546562 Opened 14 years ago Updated 3 years ago

Cannot remove p/paragraph separation within a table cell of contentEditable

Categories

(Core :: DOM: Editor, defect, P5)

x86
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: timmc, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7

Navigate to the Midas demo page and insert the following markup in the HTML editor:

<table border="1" cellpadding="2" cellspacing="2"><tbody><tr><td>Clobber me:<p><-- Backspace Here!</p></td></tr></tbody></table>

Then place your cursor before the "arrow" and hit backspace (as many times as you'd like).

Further more, pressing Delete after "Clobber me:" doesn't work as expected. You must delete the entire contents of the P before the cursor restores to the original line.

Reproducible: Always

Steps to Reproduce:
1. Navigate to the Midas demo page, switch to HTML source
2. Insert this markup in the HTML editor
"<table border="1" cellpadding="2" cellspacing="2"><tbody><tr><td>Clobber me:<p><-- Backspace Here!</p></td></tr></tbody></table>"
3. Switch back to Rich Editing
4. Place your cursor before the "arrow" and hit backspace (as many times as you'd like)
Actual Results:  
The line isn't removed

Expected Results:  
The paragraph collapses into the previous line

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.