chromium/third_party/blink/web_tests/paint/selection/first_letter/first_letter_2nf-expected.html

<!doctype html>
<p id="start"><span style="font-size: 200%; color:red">  [!(5)#]</span>9abcdefghi</p>
<div id="start2">ABC</div>
<p><span style="font-size: 200%; color:red">(a)</span> bc</p>
<div id="end2">DEF</div>
<p id="end"><span style="font-size: 200%; color:red">[!(3)#]</span>789abcd</p>
<script>
const selection = window.getSelection();
const start = document.getElementById('start2');
const end = document.getElementById('end');
// Select "A^BC to (3)|"
selection.collapse(start.firstChild, 1);
selection.extend(end.firstChild.firstChild, 5);
</script>