Closed Bug 126541 Opened 23 years ago Closed 23 years ago

Scroll bar of SELECT form element does not hide

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 92333

People

(Reporter: brad, Assigned: rods)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:0.9.7) Gecko/20020217
BuildID:    stock 0.9.7 source build, 0.9.8 MS-WIN binary, Netscape 6.2

Given a form with a multi-SELECT element in a DIV.  When the DIV style is set to
"hidden", the scroll bar for the SELECT element will not hide.

Reproducible: Always
Steps to Reproduce:
http://anduin.eldar.org/~brad/mozilla/bug.html
See the above URL.  Click on the hyperlink.

Reproduced here:

<HTML><BODY>
<A HREF="nothing.html"
ONCLICK='javascript:document.getElementById("abug").style.visibility="hidden";return
false;'>Press me to hide div</A>
<DIV ID="abug"><FORM ID="aform">
<SELECT NAME="anelement" SIZE=3 MULTIPLE">
<OPTION SELECTED VALUE="value1">value1
<OPTION SELECTED VALUE="value2">value2
<OPTION SELECTED VALUE="value3">value3
<OPTION SELECTED VALUE="value4">value4
</SELECT></FORM></DIV></BODY></HTML>


Actual Results:  When you click on the link you will note that the scroll bars
of the SELECT element does not go away.  Indeed, you can even interact with the
scroll bar.

Expected Results:  Everything should be hidden, and not selectable.
->Form Controls
Component: DOM Style → HTML Form Controls
oops, reassign
Assignee: jst → rods
QA Contact: ian → madhur
Duplicate of "Select box scrollbar is not hidden with visibility:hidden property."

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