Closed
Bug 438449
Opened 18 years ago
Closed 18 years ago
Selection drop-down doesn't drop-down inside div with specific style attributes
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: brian, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
The following HTML should display a selection drop-down list when clicked on it. However, it doesn't.
<div style="position: relative; display: inline;">
<form action="javascript:void(0);" name="test" id="test">
<select name="selection">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</form>
</div>
If the position style of the div is removed or changed, the selection list will drop-down. If the display style of the div is changed to block or removed, the selection list will display fine. An example of HTML that renders correctly is as follows (changed display from 'inline' to 'block').
<div style="position: relative; display: block;">
<form action="javascript:void(0);" name="test" id="test">
<select name="selection">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</form>
</div>
Reproducible: Always
Steps to Reproduce:
1. Create a web page with the following HTML
<div style="position: relative; display: inline;">
<form action="javascript:void(0);" name="test" id="test">
<select name="selection">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</form>
</div>
2. View the page in FireFox
3. Click the drop-down menu
Actual Results:
No drop-down is displayed.
Expected Results:
A drop-down list should be displayed with selections '1', '2' and '3'.
| Reporter | ||
Updated•18 years ago
|
Version: unspecified → 2.0 Branch
Comment 1•18 years ago
|
||
I see the problem indeed, tested on Windows XP with Firefox 2.0.0.14, but the bug is not present (anymore) in latest trunk nightly build so Firefox 3 won't have this problem. Resolving worksforme.
Nightly builds: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.9.0/
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•