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

RESOLVED INVALID

Status

()

Core
Layout: Form Controls
RESOLVED INVALID
14 years ago
13 years ago

People

(Reporter: aeon, Unassigned)

Tracking

({testcase})

Trunk
x86
All
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(3 attachments)

(Reporter)

Description

14 years ago
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

Comment 1

14 years ago
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.

Comment 3

14 years ago
Created attachment 155393 [details]
Testcase #1 - Reporter's testcase

Comment 4

14 years ago
Created attachment 155394 [details]
Testcase #2

Comment 5

14 years ago
Created attachment 155395 [details]
Screenshot of Testcase #1 after tabbing to 2nd select

Comment 6

14 years ago
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

Comment 7

13 years ago
Marking invalid per comments 2 and 6. The problem mentioned in comment 6 doesn't 
exist in Gecko 1.9a1.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.