Open Bug 1327920 Opened 7 years ago Updated 2 years ago

[contenteditable] element doesn't cancel inner text selection on RightClick or MiddleClick outside

Categories

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

defect

Tracking

()

UNCONFIRMED

People

(Reporter: arni2033, Unassigned)

References

()

Details

>>>   My Info:   Win7_64, Nightly 48, 32bit, ID 20160403030243
STR_1:
1. Open the following "data:" url or click URL in the form above
>   data:text/html,<div contenteditable style="border:1px solid black">asdf<br></div><style>body{height:10000px}
2. Select "sd" inside [contenteditable] element
3. Move mouse outside of the <div>, Right-click, then press Escape
4. Press "z" key, press "x" key

AR:  After Step 3 text "sd" is still selected. In Step 4 selected text is not replaced by "zx"
ER:  After Step 3 text selection should be canceled to prevent confusion

Note:  You can replace Step 3 with autoscroll operation as written in the summary
No longer blocks: 1277113
Component: Untriaged → Editor
Product: Firefox → Core
focus is moved, but we don't cancel selection.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.