Closed Bug 190497 Opened 22 years ago Closed 22 years ago

Z-Index on absolutely positioned div tags ignored for scrollbar of multiple select form control

Categories

(Core :: Web Painting, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 126263

People

(Reporter: drevil, Assigned: roc)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (WinXP; en-US; rv:1.3a) Gecko/20021003
Build Identifier: Mozilla/5.0 (Linux; en-US; rv:1.3a) Gecko/20021003

Z-Index on absolutely positioned div tags ignored for scrollbar of multiple
select form control.

If I absolutely position a div over form elements on a page, Mozilla correctly
draws it over all the form elements except for the "multiple select" form
element. In the case of the "multiple select" form element, it draws the div
over the select box, but under the scrollbar belonging to it.

Changing z-index on the div has no effect.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.



Expected Results:  
Mozilla should have drawn the absolutely positioned div "above" the scrollbar of
the multiple select form element.
Ignore that it says ("WinXP") in the tag, I had to manually change my user-agent
due to some sites that I use that for some reason mess up their javascript if
they don't find "WinXP" in the Mozilla user agent tag.
If I understood correctly, it is dupe (or maybe result) of bug 186754 (div's
with overflow:scroll and overflow:auto invalidate z-index order). 
related: bug 78087 and bug 186754.
Attached file select with z-index
This testcase for select multiple and select, the source of trouble in this
scrollbar.
I'm not using the overflow property FYI. Thanks for making the test case. I
appreciate the assistance.
Keywords: testcase
Whiteboard: DUPEME
Mike, I think this is the bug you're interested in. Do you have another bug
number already?
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Well, this bug can't be fixed without getting rid of the native scrollbars on
"select".

*** This bug has been marked as a duplicate of 126263 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: