<!DOCTYPE HTML>
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Testcase for bug 665597</title>
    <style type="text/css">

.o { width:100px; height:100px; padding:100px; background:green; }	
.i { width:100px; height:200px; background:yellow; }

    </style>
</head>
<body>
<div class="o" style="overflow:auto">
  <div class="i"></div>
</div>
</body>
</html>