Closed
Bug 527010
Opened 15 years ago
Closed 15 years ago
input field immediately after a hidden field cannot keep focus
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: pschwei1, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.15) Gecko/2009101601 Firefox/3.0.15 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5
If a input field with the type "hidden" immediately precedes an input field with the type "text", the "text" field will not retain focus.
The HTML markup of this scenario is:
<p>
<label>
Name<br />
<input type="hidden" name="name" id="name" />
<input type="text" name="text" />
</label>
</p>
Reproducible: Always
Steps to Reproduce:
1. Make a page with the HTML markup in the details
2. Visit the page with the browser and try to click on the input field
Actual Results:
As soon as the mouse button is released, the input field loses focus. However, if you hold the mouse button while typing, the field retains focus
Expected Results:
The input field should retain focus
This only seems to happen when the hidden field directly precedes the text field in the HTML markup.
Comment 1•15 years ago
|
||
I can indeed reproduce this with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5pre) Gecko/20091030 Shiretoko/3.5.5pre
but it is fixed in the latest 3.6 build.
So the next milestone release won't have this bug anymore.
You can try it out: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-1.9.2/
Resolving WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Version: unspecified → 3.5 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•