Closed Bug 222998 Opened 21 years ago Closed 20 years ago

onDblClick event triggered by scrollbar

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jcobync, Unassigned)

References

()

Details

(Keywords: testcase, Whiteboard: DUP of bug 249229?)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

The onDblClick event for a select element is triggered by double clicking on the
up or down arrows.  

This makes it difficult to scroll through large-ish sets of options in a select
that sends a form.submit() onDblClick.

Reproducible: Always

Steps to Reproduce:
1. create a form named "form1" with a "select" element that has a "size" of 5
2. add a select element with an onDblClick="form.submit()" and several "option"
elements
3. double click on either the up or down arrows in the scroll bar.

Actual Results:  
the form is submitted

Expected Results:  
scroll down/up
I forgot to mention that this bug only seems to affect phoenix/firebird. 
Mozilla 1.4 works as expected.
*** Bug 223847 has been marked as a duplicate of this bug. ***
I confirm that dblclick event is triggered when double-clicking on the arrows of
scrollbar of a select and/or of a div in Firefox 0.8 (build 20040206). There is
no dblclick event triggered in Mozilla 1.6 (build 20040113) when double-clicking
the arrows of scrollbar of a select and/or of a div.

I personally believe that this may not be a bug in Firefox but rather a bug in
Mozilla: if a generated scrollbar is always part of the element which
creates/needs it (and this should be the case for all HTML elements able to
render scrollbars), then it would mean that Mozilla 1.6 has a bug. 

FWIW, double-clicking the arrows of a scrollbar of a div in Opera 7.50 PR 1
build 3494 will trigger the dblclick event.

XP Pro SP1 here.
Keywords: testcase
->form controls
Assignee: firefox → nobody
Component: General → Layout: Form Controls
Product: Firefox → Browser
QA Contact: core.layout.form-controls
Version: unspecified → Trunk
*** Bug 245130 has been marked as a duplicate of this bug. ***
I could confirm also with Mozilla 1.4 (used in Netscape 7.1) and Firefox til 0.9.1.
Possibly a DUP of bug 249229
Whiteboard: DUP of bug 249229?
This WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 20 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: