Open
Bug 1327906
Opened 8 years ago
Updated 4 years ago
Textarea/[contenteditable] don't correctly break word into 2 lines: shortcuts like Ctrl+Delete/BackSpace/Left aren't applied to the whole word
Categories
(Core :: DOM: Editor, defect, P5)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: arni2033, Unassigned)
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url [1] or url [2]
2. Click in the end of textarea
3. Press Ctrl+Backspace to delete the last word in textarea ("click")
AR: Test stays in textarea: "console.log(cl"
ER: Test stays in textarea: "console.log("
> [1] data:text/html,<textarea style="width: calc(22ch + 16px);">onclick="console.log(click
> [2] data:text/html,<textarea style="width: calc(22ch + 16px);word-break: break-all;">onclick="console log(click
STR_2:
1. Open url [1] or url [2]
2. Click in the end of textarea
3. Press Ctrl+Left to move caret to the beginning of the last word in textarea ("[caret]click")
AR: Test stays in textarea: "console.log(cl[caret]ick"
ER: Test stays in textarea: "console.log([caret]click"
Note: Same with <div contenteditable>. Please add the testcase.
Updated•8 years ago
|
Priority: -- → P3
Comment 1•4 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: P3 → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•