gecko/layout/reftests/bugs/987680-1.html
Timothy Nikkel 19f177053d Bug 987680. Overlay scrollbars should be placed on top of content. r=roc
Bug 926292 accidentally put them in the background list if there were no positioned descendents they needed to be on top of it (because this was where non-overlay scrollbars went, which never made sense). If there are no positioned descendents overlay scrollbars should go on the top-most non-positioned list, which is outlines.
2014-04-09 07:12:21 -05:00

19 lines
290 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.container {
width: 200px;
height: 200px;
overflow: scroll;
position: relative;
}
</style>
</head>
<body>
<div class="container">
<div style="background: green; height: 40px;"></div>
<div style="height: 300px;"></div>
</div>
</body>
</html>