summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1133905-4-vh-rtl.html
blob: 7bd79bab4f6b41cf6d0ba6b6e4d7f5e4be886470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html class="reftest-wait"><head>
<meta name="viewport" content="initial-scale=1.25">
<style> html { direction: rtl; } </style>
</head>
<body>
<div style="height: 16000px; width: 7200px;"></div>
<script>
  window.addEventListener("MozReftestInvalidate",
      function() {
        // The zooming due to the initial-scale will not preserve the default
        // scroll position (top right corner) for an RTL scroll frame, so
        // scroll to it explicitly.
        window.scrollTo(scrollMaxX, 0);
        document.documentElement.className = "";
      });
</script>
</body>
</html>