<div>This test demonstrates our behavior regarding empty inlines in list items.</div>

<ul>
    <li><span style="border:2px solid red"></span></li>
    <li>    <span style="border:2px solid red; padding:2px"></span>Text</li>
    <li>TextTextText    <span style="border:2px solid red; padding:2px"></span></li>
    <span style="border:2px solid red; padding:2px"></span><li>Text</li>
</ul>
