JavaScript .focus() and .select() do not work together

NEW
Unassigned

Status

()

P5
normal
12 years ago
4 months ago

People

(Reporter: gabrielsjoberg, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows XP
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
When validating a form field with either the onblur or onchange handlers, we do not have the ability to call .focus() and .select() to force the user to fix their entry.

The attached test case demonstrates this.
Assignee: general → general
Component: JavaScript Engine → DOM
QA Contact: general → ian
(Reporter)

Comment 1

12 years ago
Created attachment 244590 [details]
Testcase
(Reporter)

Updated

12 years ago
Keywords: testcase

Comment 2

12 years ago
Dup of bug 53579?
(Reporter)

Comment 3

12 years ago
Not quite.  The bug I've described is also present in "onchange()".  In fact, my testcase originally used onchange instead of onblur.
Assignee: general → nobody
QA Contact: ian → general
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.