Closed Bug 334212 Opened 15 years ago Closed 15 years ago

Scroll bar of element behind shows through elements stacked on top.

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 187435

People

(Reporter: petermichaux, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2

Element A has scroll bars.

Element B is stacked on top of element A.

The scroll bars of element A show through the background of element B

Here is the example. You can remove the "z-index" and the results are equally bad.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>untitled</title>

</head>
<body style="margin:0;padding:0;">

<div style="overflow:scroll;z-index:1;">
  hi
</div>
<div style="position:absolute;top:0;left:0;background:green;height:50px;z-index:3;">
  good bye
</div>
</body>
</html>


Reproducible: Always

Steps to Reproduce:
1.run the examples
2.
3.

Actual Results:  
the scroll bar shows through from behind

Expected Results:  
the scroll bar in the element behind should be hidden by the green element on top.
Duplicate of bug 330090 -> Core bug 187435.

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