Closed Bug 209909 Opened 21 years ago Closed 20 years ago

Caret movement inconsistent

Categories

(Core :: DOM: Selection, defect)

defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: KaiE, Assigned: mozeditor)

References

Details

(Keywords: regression, Whiteboard: editorbase+)

Attachments

(1 file)

Open the attached document in editor.
It shows two lines:
 x
 y

I can imagine 4 positions where the caret could be placed in this document:

1:
  |x
   y


2:
   x|
   y

3:
   x
  |y

4:
   x
   y|  

When starting at position 1 using arrow right repeatedly:

Expected behaviour:
  we arrive at positions 2, then 3, then 4

Actual behaviour:
  we arrive at 2, 4, but not at 3


When starting at position 4, we do arrive at positions 3, then 2, then 1 as
expected.
Whiteboard: editorbase
Attached file test html document
Mozilla 1.3 does not have this bug.

This is a regression starting with 1.4 
Keywords: regression
I think this is a new regression.
when i using trunk20030608, I cannot reproduce this bug.
I also find info below when move caret:

An error occurred updating the cmd_ul command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ol command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_paragraphState command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ul command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ol command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_paragraphState command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ul command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_ol command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
An error occurred updating the cmd_paragraphState command:
[Exception... "Security error"  code: "1000" nsresult: "0x805303e8
(NS_ERROR_DOM_SECURITY_ERR)"  location: "chrome://editor/content/Composer
Commands.js Line: 257"]
editorbase+
Whiteboard: editorbase → editorbase+
It's not likely that I will work on editor/selection bugs in the near future.
Mass assining my bugs to nobody.

Assignee: kaie → nobody
-->floppy (although he may want to reassign back to nobody or module owner)
Assignee: nobody → mozeditor
Blocks: caretnav
Can't reproduce with Mozilla 1.7 or Firefox 0.8.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
verified fixed on Mac Mozilla 1.7
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: