chromium/third_party/blink/web_tests/fast/dom/rtl-scroll-to-leftmost-and-resize.html

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
if (window.testRunner)
    testRunner.waitUntilDone();

onload = async function()
{
    var resizePromise = new Promise(resolve => window.onresize = resolve);
    window.resizeTo(250, window.innerHeight);
    await resizePromise;
    window.scrollTo(-100000, 0);
    resizePromise = new Promise(resolve => window.onresize = resolve);
    window.resizeTo(350, window.innerHeight);
    await resizePromise;
    if (testRunner)
      testRunner.notifyDone();
}
</script>
</head>
    <body style="direction: rtl">
        <div style="whitespace:nowrap; width: 1000px; height: 4000px; border: 1px solid red;">
            BEGINddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddEND
        </div>
    </body>
</html>