blob: 3676d630f5f61d2711f801834bc20d3385f37faf [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.rel {
position: relative;
width: 150px;
}
.pos {
background-color: cyan;
position: absolute;
width: 100%;
top: 0;
left: 0;
}
</style>
</head>
<body>
<p>
Bug webkit.org/b/111977 : We should compute overflow from cells during simplified layout. The page should have a vertical scrollbar.
</p>
<table>
<tr>
<td>
<div class="rel">
<div class="pos"></div>
</div>
</td>
</tr>
</table>
<script>
var e = document.querySelector('.pos');
document.body.offsetHeight;
e.style.height = '800px';
</script>
</body>
</html>