<!DOCTYPE html>
<html>
<head>
<style>
    html {-webkit-writing-mode: vertical-lr}
</style>
</head>
<body>
<div style="overflow: hidden; width: 300px; height: 300px;">
<script>
for (var i = 0; i < 100; ++i)
    document.writeln("<br>");
</script>
<div id="last">If the test is successful, this text is on the left of the window upon navigation to this page.</div>
<script>
for (var i = 0; i < 100; ++i)
    document.writeln("<br>");
</script>
</div>
<script>
window.location = "#last";
</script>
</body>
</html>
