Open Bug 376607 Opened 18 years ago Updated 3 years ago

<select> boxes paint a box when its visibility is change to hidden.

Categories

(Core :: Web Painting, defect)

defect

Tracking

()

People

(Reporter: jose.aliste, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a3) Gecko/20070322 GranParadiso/3.0a3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a3) Gecko/20070322 GranParadiso/3.0a3 If you have a <select> box change its visibility to hidden then a box with the color of the background remains painted. This is similar to bug 206000 but this bug is specific to win98 so I've been told to file a new one. I think this bug is all platforms, because I can at least reproduce it in the mac and in linux with Graparadiso alpha 3. I will add a modified testcase soon! Reproducible: Always Steps to Reproduce: 1. 2. 3.
Attached file Testcase
to reproduce using the test case just click in the <select> as usual to see the green box appear
Yeah, indeed. Nice testcase! Eli, want to look into this?
Assignee: nobody → roc
Status: UNCONFIRMED → NEW
Component: Layout: Form Controls → Layout: View Rendering
Ever confirmed: true
QA Contact: layout.form-controls → ian
Okay, this isn't too hard: the reason this doesn't work is that we don't support transparent popups. The green is the default background for the document. Of course, we could decide that setting visibility: hidden on a select should do something different...
We should hide the popup if the <select> is visibility:hidden.
(In reply to comment #4) > We should hide the popup if the <select> is visibility:hidden. Okay, makes sense. I'll think about it a bit... I'm assuming we don't care if someone sets one of the options to "visibility: visible".
Yeah, I think we should just break that. The only alternative would be to enable transparent dropdowns, which I think we don't want to do.
QA Contact: ian → layout.view-rendering
Component: Layout: View Rendering → Layout: Web Painting
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: