Closed Bug 22233 Opened 25 years ago Closed 25 years ago

Caret placed at beginning of wrong line

Categories

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

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: kinmoz, Assigned: mozeditor)

References

Details

To reproduce:

1. Load the following HTML into the editor:

<html>
<body>
<p>Put your caret at the end of this line:</p>
</body>
</html>

2. Place your caret at the end of the line after the colon ':' character.
3. Hit the return key.
4. Now type some text.
4. Hit the return key.

Notice how the caret is placed at the beginning of the line that contains the
text you just typed?

It should go on a new line below the text you just typed.
Target Milestone: M13
setting to m13
Status: NEW → ASSIGNED
I can use this bug as a placeholder for all the "cursor moved when I hit return
or backspace" type bugs, which are all the same problem in the end.  Low level
transactions are tweaking the selection out from under me.

I have a fix in mind (and moslty implemented) which will go in when I get back at
the beginning of Jan.
*** Bug 22242 has been marked as a duplicate of this bug. ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
fixed
Status: RESOLVED → REOPENED
still not fixed in 1/6 build 2000010608
Resolution: FIXED → ---
Clearing FIXED resolution due to reopen.
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
ok, fixed for real.
Status: RESOLVED → VERIFIED
verified in 1/12 build.
You need to log in before you can comment on or make changes to this bug.