Closed Bug 154803 Opened 22 years ago Closed 21 years ago

JavaScript blur/focus; Unexpected Cursor Drawing

Categories

(Core :: DOM: Events, defect, P4)

PowerPC
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jond, Assigned: joki)

References

Details

(Keywords: testcase)

Attachments

(1 file)

When using JavaScript to focus on a field other than the field clicked on (or
tabbed to), the cursor is drawn where the user navigates to, even though input
focus is given to the field focus()-ed on by JavaScript.  When this happens the
cursor may be blinking in a different field than where characters are drawn when
typing.

The input does go into the correct field (as specified by the JavaScript), but
it is not obvious to the user where the focus really is.
Attached file Form Test w/JavaScript
Includes three fields each of which have requirement priorities such that the
first field must have data before successive fields can be used.  Notice how
clicking on the later fields will cause input focus to be redirected to the
first field even though the cursor is drawn in the field in which you click (or
tab).
*** Bug 154802 has been marked as a duplicate of this bug. ***
Confirmed using FizzillaCFM/2002062203.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Priority: -- → P4
*** Bug 133554 has been marked as a duplicate of this bug. ***
Thsi worksforme with a current build, presumably due to one of bryner's recent
changes. 

Marking so, but please reopen if you still see the issue.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: