Closed Bug 169386 Opened 22 years ago Closed 22 years ago

cursor jumps to start of line when backspace is pressed

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 95
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 151882

People

(Reporter: andrixnet, Assigned: alexsavulov)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.2a) Gecko/20020910
Build Identifier: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.2a) Gecko/20020910

In both <input type=text> and <textarea></textarea> fields, when deleting text
on one line with backspace, the following occurs:

Everytime backspace is pressed, while the character before the cursor is
deleted, the cursor jump to the start of the row and then back to the new and
proper position before the deleted character.

If backspace is pressed only once at a time, it is hard to observe, but it also
seems to jump 2 characters to the left, then one character to the right which
brings it in the proper position.
If backspace is pressed and held, and keyboard is set to repeat 30 chars/sec,
with a long row,  cursor is seen both at it's proper position and faintly at the
row begining (possibly due to the very short time it stays there), but clearly
visible.

This happens for any form in <input type=text> and <textarea></textarea>


Reproducible: Always

Steps to Reproduce:
1.load a page with a form with input type text or textarea input fields.
bugzilla's pages are a good choice
2.write a long line of text, have keyboard repeat set to 30chars/sec
3.at row end, press and hold backspace and watch the start of the row

Actual Results:  
Cursor is visible at row start also.

Expected Results:  
Cursor should only jump one char to the left for each backspace character the
form receives.

*** This bug has been marked as a duplicate of 151882 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.