Closed Bug 343817 Opened 19 years ago Closed 19 years ago

html element scrollbars don't respect z-index

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 187435

People

(Reporter: rossd, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 When an HTML element renders a scrollbar, the scrollbar does not respect the z-index of the HTML element. The result is that the scrollbar floats above all other content thus breaking the element layering on the page. Reproducible: Always Steps to Reproduce: Example HTML below demonstrates the problem. The Red div should be painted on top of the div with the text content. This is true for everything but the scrollbar. <html> <body> <div style='position: absolute; top:0px; left:0px; height:100px; width:200px; overflow:auto; border:solid black 1px; z-index:10;'> 1<br> 2<br> 3<br> 4<br> 5<br> 6<br> 7<br> 8<br> 9<br> 10<br> 11<br> 12<br> 13<br> 14<br> 15<br> </div> <div position:absolute style='position:absolute; top:15px; left:150px; width:100px; height:100px; background: red; z-index:100;'/> </body> </html> Actual Results: div with text content's scrollbar is painted on top of the red div Expected Results: red div should be painted on top of the scroll bar Note the behaviour is correct with FF on windows XP, so this may be an issue with the native toolkit?
This bug looks the same as Bug 334212 which was duped to bug 187435. *** This bug has been marked as a duplicate of 187435 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.