Closed Bug 332609 Opened 18 years ago Closed 18 years ago

Scrollbars on <select> in hidden divs aren't hidden

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 187435

People

(Reporter: bugs, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

This is appear to be the same problem as bug 109146, but on the mac.

Here is an example that works fine on safari, ff linux & windows, and ie:

<html>
<body>
<div id="div" style="position:absolute;left:100;top:100;visibility:hidden;">
<select size=10>
<option>foobar</option>
</select>
</div>
</body>
</html>


If you change the visibility: hidden to display:none, ff/mac does the right thing and gets rid of the scroll bar.

Reproducible: Always

Steps to Reproduce:
1. Load the above html into ff/mac
2. observe disabled scrollbar in middle of page




Expected Results:  
Expected no scroll bar

*** This bug has been marked as a duplicate of 187435 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.