blob: d1ecfc01b062645c2da83401a3fc2248db784c84 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Dynamically remove paged overflow on a DIV element</title>
<script>
function test() {
document.body.offsetTop; // trigger layout
document.getElementById('elm').style.overflow = 'visible';
}
</script>
</head>
<body onload="test()">
<div id="elm" style="width:30em; height:10em; overflow:-webkit-paged-x; overflow:paged-x;">
The word 'PASS' should be seen below.
<div style="margin-top:10em;">PASS</div>
</div>
</body>
</html>