Closed Bug 254550 Opened 20 years ago Closed 19 years ago

selectbox with onfocus="this.blur()" does not show options

Categories

(Core :: Layout: Form Controls, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: aeon, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8

if i try to make a select box with the onfocus="this.blur()" option firefox does
not show the content of the selectbox (the options). this feature is supported
by msIE and we are using it because MacIE draws a fat border around the
selectbox if we do not specify the onfocus="this.blur()" option.

Reproducible: Always
Steps to Reproduce:
1.make a form select
2.insert the text onfocus="this.blur()" into the select tag
3.click on the selectbox

Actual Results:  
the selectbox does not show the options

Expected Results:  
show all possible options and let one select an option
Not the form manager
-> Browser: Layout: Form Controls
Assignee: bugs → nobody
Component: Form Manager → Layout: Form Controls
Product: Firefox → Browser
QA Contact: firefox.form-manager → core.layout.form-controls
Version: unspecified → Trunk
Er... you're making sure the selectbox can never get focus, and a selectbox that
doesn't have focus can't drop down.

So this is probably invalid.
Attached file Testcase #2
I agree with Boris, the original bug report is invalid, the menu should not
stay up after a call to blur(), see Testcase #2.

There is a bug in Testcase #1 though; the focus outline should not remain on
the second select when the first actually has keyboard focus - hit spacebar
and you will see that the upper has focus.  There is some remnant of a focus
outline on the upper one as well (on the arrow button), see screenshot.
This occurs when tabbing to the second select, not clicking on it.
2004-08-05-10 trunk Linux
Keywords: testcase
OS: Windows XP → All
Marking invalid per comments 2 and 6. The problem mentioned in comment 6 doesn't 
exist in Gecko 1.9a1.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: