chromium/third_party/blink/renderer/core/testing/data/composited_selection_bounds_basic_rtl.html

<style>
    @font-face {
        font-family: ahem;
        src: url(Ahem.ttf);
    }
    * {
        font-family: ahem;
    }
    body {
      direction: rtl;
    }
</style>
<span id="text">
    &#x202E;The quick brown fox jumped over the lazy dog.
</span>
<script>
    var range = document.createRange();
    var textNode = document.getElementById("text").firstChild;
    range.setStart(textNode, 10);
    range.setEnd(textNode, 25);
    document.getSelection().addRange(range);

    window.expectedResult = [document, 584, 8, 584, 20, document, 404, 8, 404, 20];
</script>