<!DOCTYPE html>
<script src="../include.js"></script>
<div contenteditable="true">
    <span>foobar</span>
    <ul>
        <li>foo</li>
        <li>bar</li>
        <li>baz</li>
    </ul>
</div>
<script>
    test(() => {
        const range = document.createRange();
        getSelection().addRange(range);

        const divElm = document.querySelector('div');

        // Indent 'foobar'
        const spanElm = document.querySelector('span');
        range.setStart(spanElm.childNodes[0], 0);
        range.s