Closed Bug 148095 Opened 22 years ago Closed 20 years ago

Select options not displayed with absolute select in relative span

Categories

(Core :: Layout: Form Controls, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.7beta

People

(Reporter: rsculbertson, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc3)
Gecko/20020523
BuildID:    2002052306

When displaying an absolutely positioned select (with size) within a
relatively positioned span, the options are not displayed.  The select
is displayed and the scroll bar seems to work fine, but no options
are displayed in the select.

Reproducible: Always
Steps to Reproduce:
See HTML below.

Actual Results:  Options are not displayed

Expected Results:  Options displayed.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Absolute Select in Relative Span Bug</title>
</head>

<body>
    <p>The following select is populated, but the options are not displayed and
       can not be selected.  The scroll bar does work.
    </p>
    <p>It only seems to fail when the span is relatively positioned and the
       the select is absolute positioned.
    </p>
    <span style="position: relative; border : medium solid Orange;">
        <select id="myselect" size=2 style="position: absolute">
            <option>a</option>
            <option>b</option>
            <option>c</option>
            <option>d</option>
            <option>e</option>
        </select>
    </span>
</body>
</html>
I bet this is another weird block-in-inline issue...
Removing the border makes the input not to be displayed in Mozilla or in IE 6.
with linux trunk 20030716: "a" and "b" are displayed, but cannot be selected. 
scrolling doesn't work.

marking NEW
Assignee: rods → form
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Windows 2000 → All
QA Contact: tpreston → desale
Depends on: 135082
FIXED by bug 235778. Yay roc!
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.7beta
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: