Closed Bug 170476 Opened 23 years ago Closed 19 years ago

Moving caret (cursor) past an image gets in the wrong place

Categories

(Core :: DOM: Selection, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cosmic, Assigned: mjudge)

Details

(Keywords: testcase, Whiteboard: editorbase+)

Attachments

(1 file)

This is a sequel to bug http://bugzilla.mozilla.org/show_bug.cgi?id=149547. Moving cursor from top to bottom or bottom to top from few lines before the image or after the image has been fixed very well. Movement from left to right is still weird. 1) case 1 left to right Use the HTML code at the end as test case. Place cursor on the line before the image. Move right one step at a time. Cursor becomes large when you are right before the image. Cursor jumps to a line approximately at the center of the image instead then on the line that follows the image in text order, as I would expect 2) case 2 right to left Place cursor right of the image. Move left. Cursor jumps to the line before the image without taking the image into consideration as it happens when you go the other way (cursor becomes same size as image height). 3) case 3 cut & paste Cut image and place it some lines below the original position. Two errors appear 3.1) the space assigned to the image is not reclaimed 3.2) repeating the test as in right to left with the image in the new position, cursor cannot get past the image. Top to bottom is OK (well, almost one line is jumped over, but this might not be noticed from the user). --------------------8<--------- cut here ------------8<------------------- <html> <head> <title>TEst</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="author" content="Michele Costabile"> </head> <body vlink="#ff0000" alink="#000088" link="#0000ff" bgcolor="#ffffff" text="#000000"> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> <p><img src="http://www.mozilla.org/start/1.0/images/dino.png" align="left" width="154" height="127" border="0" alt="Diagramma di installazione" vspace="20"> <br> Line of text<br> </p> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> Line of text<br> Line of text<br> Line of text<br> Line of text<br> <br> <br> </body> </html>
over to selection for caret issues nominate for editorbase and nsbeta1
Assignee: syd → mjudge
Component: Editor: Composer → Selection
Keywords: nsbeta1
QA Contact: sujay → pmac
Summary: Moving cursor past an image gets in the wrong place → Moving caret (cursor) past an image gets in the wrong place
Whiteboard: editorbase
editorbase+, nsbeta1+ per eb mtg
Keywords: nsbeta1nsbeta1+
Whiteboard: editorbase → editorbase+
still happens in 2002122908/trunk/win2k (and also has nsbeta+ already...), confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file testcase
reporter's testcase as an attachment
Keywords: testcase
QA Contact: pmac → beppe
WFM with: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20061123 Minefield/3.0a1 Probably fixed by fixes for bug 334626, bug 346445, and/or other caret navigation bugs.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: