Closed
Bug 173950
Opened 22 years ago
Closed 20 years ago
input (when type=file) doesn't respond to onFocus event when clicking in textfield
Categories
(Core :: Layout: Form Controls, defect, P3)
Core
Layout: Form Controls
Tracking
()
mozilla1.3beta
People
(Reporter: ragnar, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
268 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 The input HTML form element doesn't respond to an onFocus event if the type is set to "file". Reproducible: Always Steps to Reproduce: 1. Setup a basic form, as follows: <form> <input type="file" onFocus="alert('file focus works')"> <input type="text" onFocus="alert('text focus works')"> </form> 2. click each form element above Actual Results: The alert box shows for the "text" input box, but it doesn't show for the "file" input box. Expected Results: It should have shown the alert, hence responding to the onFocus event, for both input elements.
Comment 1•22 years ago
|
||
WFM. (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826)
Reporter | ||
Comment 2•22 years ago
|
||
After submitting the test case I noticed that the form does gain focus when hitting the "browse" button. I also tested with Mozilla 1.2a on Windows and Mac OS X and the input text area also doesn't register focus. Thanks to the Mozilla folks who are looking at this bug. Let me know if I can assist in any other way.
Comment 3•22 years ago
|
||
Happens on Linux too. Neil, does your patch for that focus weirdness fix this?
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Summary: input (when type=file) doesn't respond to onFocus event → input (when type=file) doesn't respond to onFocus event when clicking in textfield
Comment 5•22 years ago
|
||
Hopefully bug 176100 will get fixed shortly.
Assignee: jkeiser → form
Priority: -- → P3
Target Milestone: --- → mozilla1.3beta
Comment 7•20 years ago
|
||
yup, looks like a duplicate to me. please correct me if i'm wrong. *** This bug has been marked as a duplicate of 4033 ***
You need to log in
before you can comment on or make changes to this bug.
Description
•