blob: 0637abf427c2e14d4bb69adc3a6fae4e75ca81c2 [file] [log] [blame]
<html>
<head>
<title></title>
</head>
<body>
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13145">http://bugs.webkit.org/show_bug.cgi?id=13145</a>
Regression: Scrollbar not resizing after display none</i>.
</p>
<p>
The window should not have a vertical scroll bar.
</p>
<div style="position: absolute; width: 100px; top: 100px;">
<div id="target" style="height: 2500px; background: green;"></div>
</div>
<script>
document.body.offsetTop;
document.getElementById("target").style.height = "100px";
</script>
</body>
</html>