no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / bugs / 1133905-4-vh-rtl.html
blob7bd79bab4f6b41cf6d0ba6b6e4d7f5e4be886470
1 <!DOCTYPE html>
2 <html class="reftest-wait"><head>
3 <meta name="viewport" content="initial-scale=1.25">
4 <style> html { direction: rtl; } </style>
5 </head>
6 <body>
7 <div style="height: 16000px; width: 7200px;"></div>
8 <script>
9 window.addEventListener("MozReftestInvalidate",
10 function() {
11 // The zooming due to the initial-scale will not preserve the default
12 // scroll position (top right corner) for an RTL scroll frame, so
13 // scroll to it explicitly.
14 window.scrollTo(scrollMaxX, 0);
15 document.documentElement.className = "";
16 });
17 </script>
18 </body>
19 </html>