<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1">
<style>
.scrollable {
overflow: auto;
width: 320px;
height: 300px;
border: 2px solid blue;
}
iframe {
position: absolute;
top: 0;
left: 0;
height: 200px;
width: 200px;
border: 2px solid black;
background-color: blue;
}
.box {
position: relative;
height: 500px;
width: 100%;
background-color: rgba(0, 0, 0, 0.2);
padding: 10px;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.internals)
internals.settings.setPreferCompositingToLCDTextEnabled(true);
</script>
</head>
<body>
<p>This test should not assert.</p>
<div class="scrollable">
<iframe></iframe>
<div class="box"></div>
</div>
</body>
</html>