blob: c9eef7d50a7526692a282f15f610ebeca55e9c2f [file] [log] [blame]
<!DOCTYPE html>
<style>
#scroller {
position: fixed;
left: 0;
top: 0;
width: 100px;
height: 100px;
overflow: scroll;
}
#bloat {
height: 1000px;
}
#fixed {
position: fixed;
left: 200px;
top: 200px;
width: 100px;
height: 100px;
background: green;
}
</style>
<div id="scroller">
<div id="bloat"></div>
</div>
<div id="fixed"></div>
The test passes if a green box is visible on the screen. The purpose of this test is to verify fixed-position elements are not clipped by an ancestor fixed-position overflow clip.