blob: a227e6f7966c97def6c4bd4c34033a952fc7a95c [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true internal:AsyncFrameScrollingEnabled=true ] -->
<html>
<head>
<meta name="viewport" content="width=device-width">
<style>
iframe {
position: relative;
border: 1px solid black;
width: 300px;
height: 300px;
}
</style>
</head>
<body>
<iframe id="test-frame" srcdoc="
<style>
body {
height: 2000px;
margin: 0;
}
.box {
width: 300px;
height: 300px;
background-color: green;
}
</style>
<body>
<div class='box'></div>
</body>
">
</body>
</html>