Closed Bug 65749 Opened 24 years ago Closed 24 years ago

OPTION items in SELECT are not completely hidden in hidden DIV

Categories

(Core Graveyard :: GFX, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 58212

People

(Reporter: bspencer, Assigned: kmcclusk)

Details

(Keywords: testcase)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; SunOS 5.7 sun4u; en-US; m18) Gecko/20010115 BuildID: 2001011521 The pull down OPTION items are not completely hidden in a SELECT element of a FORM, if the FORM is placed in a hidden DIV. Part of the outline box, internal to the OPTION widget, still shows through with the color of the background of the OPTION item. Reproducible: Always Steps to Reproduce: Use the following HTML. Make sure that any user preferences that hard set the background and/or foreground in such a way to mask this problem. For example, if the background is hard set to "white", the following will appear to not exist, unless something else happens to be over the hidden element. <HTML> <BODY> <DIV ID="adiv" STYLE="position:absolute; visibility:hidden; width:auto; top:100px; left:100px"> <FORM ID=aform> <SELECT ID="aselect"> <OPTION VALUE="This">This <OPTION VALUE="should">should <OPTION VALUE="all">all <OPTION VALUE="be">be <OPTION VALUE="hidden">hidden </SELECT> </FORM> </DIV> </BODY> </HTML> Actual Results: If you display the page, you should see a rectangle at 100,100 that is the background color of the OPTION item. If the user override preferences for colors are not set, then a white rectangle over a grey background should be displayed. Expected Results: The entire OPTION item should be hidden when the form element is in a hidden DIV. I use a Solaris 2.7 machine running with a PGX 32 frame buffer. This particular bug has existed for a while and was noted in a previous build of Mozilla.
Attached file Testcase
Adding testcase keyword
Keywords: testcase
This bug is known and there is a fix that has not yet been checked in. *** This bug has been marked as a duplicate of 58212 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: