blob: 08d7d1965877c5f10f8346225f666b879ae822a5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Changing from paged-y to paged-x</title>
<script>
function test() {
document.body.offsetTop; // trigger layout
document.body.style.overflow = 'paged-x';
document.body.style.overflow = '-webkit-paged-x';
}
</script>
</head>
<body style="overflow:-webkit-paged-y; overflow:paged-y;" onload="test()">
<div style="height:150vh;">
There should be a horizontal scrollbar on this page.
</div>
</body>
</html>