<!DOCTYPE HTML>
<script>
if (window.internals) {
internals.useMockOverlayScrollbars();
internals.settings.setPreferCompositingToLCDTextEnabled(false);
}
</script>
<style>
#scroller {
overflow: scroll;
width: 300px;
height: 300px;
margin-top: 18px;
}
#fixed {
position: absolute;
background: blue;
left: 90px;
width: 10px;
height: 10px;
}
#scrolled {
background: green;
width: 80px;
height: 500px;
}
</style>
<div id='scroller'>
<div id='fixed'></div>
<div id='scrolled'></div>
</div>