chromium/third_party/blink/web_tests/compositing/rtl/rtl-fixed.html

<html>
<head>
<style>
    body {
        direction: rtl;
        margin: 0px;
        background-color: red;
    }

    .positioned {
        position: fixed;
        top: 50px;
        left: 50px;
        width: 100px;
        height: 100px;
    }

    .indicator {
        background-color: red;
    }

    .layer {
        will-change: transform;
        background-color: green;
    }

    #root {
        width: 100%;
        height: 100%;
        background-color: white;
    }
</style>
<script>
    function doTest() {
        if (window.testRunner && window.internals) {
            if (top == self)
                testRunner.setCustomTextOutput(internals.layerTreeAsText(document));
            testRunner.dumpAsTextWithPixelResults();
        }
    }
    window.addEventListener('load', doTest, false);
</script>
<body>
    <div id="root"></div>
    <div class="positioned indicator"></div>
    <div class="positioned layer"></div>
</body>
</html>