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

<!doctype html>
<style>
    @font-face {
        font-family: ahem;
        src: url(Ahem.ttf);
    }
    * {
        font-family: ahem;
    }
    body {
      -webkit-writing-mode: vertical-rl;
    }
</style>
<span id="text">
    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, 620, 68, 632, 68, document, 632, 248, 620, 248];
</script>