<!DOCTYPE html>
<body onload="document.getElementById('a').style.minHeight='100%';">
<div style="overflow:auto; height:200px; width:200px">
<div id=a style="background: green;">
</div>
</div>