Open Bug 742664 Opened 13 years ago Updated 3 years ago

Select's onChange event is fired unexpectedly when selectedIndex is -1

Categories

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

defect

Tracking

()

People

(Reporter: jumperchen, Unassigned)

Details

Attachments

(1 file)

Attached file Example
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0 Build ID: 20120312181643 Steps to reproduce: If we specify an initial value -1 for Select's selectedIndex, it will trigger an onChange event when user mouse-over an item and blur the select tag (without select it). Actual results: Browser trigger an onChange event Expected results: Nothing happened
Attachment #612485 - Attachment mime type: text/plain → text/html
Confirmed http://hg.mozilla.org/mozilla-central/rev/babbc38b7f52 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120408 Firefox/14.0a1 ID:20120408031146
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Events
Ever confirmed: true
OS: Windows 7 → All
Product: Firefox → Core
QA Contact: untriaged → events
Hardware: x86_64 → All
Version: 11 Branch → Trunk
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: