blob: 31d7d18a2b0cc88d3a0aead0947b2ab5c5443308 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true 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>