Closed
Bug 21196
Opened 26 years ago
Closed 26 years ago
SelectAll delete makes caret disappear in HTML editor
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
M13
People
(Reporter: kinmoz, Assigned: mozeditor)
Details
SelectAll delete makes caret disappear in HTML editor.
To reproduce:
1. Bring up an HTML editor (Mail Compose or Composer).
2. Click anywhere in the content area to give it focus. Note that you can see
the caret.
3. Select Edit->SelectAll from the menus or type CTRL-A.
4. Hit the backspace key.
Notice how there is no caret? If you type something, the caret will reappear. If
you backspace to get rid of all content, it will disappear once all the content
is gone.
What's happening is the delete selection code is not adding the bogus BR node
when in HTML edit mode, so the Caret has nothing to attatch itself to.
Updated•26 years ago
|
Target Milestone: M13
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 1•26 years ago
|
||
fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•