<!DOCTYPE html>
<body>
<p><span data-expected-width="80" id="test">123
 <span style="unicode-bidi: -webkit-isolate">456</span> 789</span></p>
<script src="../../resources/check-layout.js"></script>
<script>
checkLayout('#test');
</script>