Open
Bug 599317
Opened 14 years ago
Updated 3 years ago
ContentEditable: partially selected paragraphs are removed on DEL or CTRL-X
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: fredck, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 Build Identifier: In an editable document, a partially selected paragraph element is removed, remaining only its contents, when attempting to delete with DEL or cut with CTRL-X. Reproducible: Always Steps to Reproduce: 1. Open the good and old Midas demo: http://www.mozilla.org/editor/midasdemo/ 2. Load this HTML in the HTML Source view. <p id="1">P1</p> <p id="2">P2</p> <p id="3">P3</p> 3. Back to the HTML editing view, start a selection at the very start of the P2 paragraph, until the very start of the P2 paragraph. It should result in a selection like the following (marked with square brackets): <p id="1">P1</p> <p id="2">[P2</p> <p id="3">]P3</p> Visually, the P2 paragraph is selected. 4. Hit DEL or CTRL-X. 5. Go to HTML Source view again. Actual Results: The following HTML will result: <p id="1">P1</p>3 Expected Results: The following HTML should result instead: <p id="1">P1</p><p id="3">P3</p>
Comment 1•3 years ago
|
||
Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.
If you have reason to believe this is wrong, 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.
Description
•