<!DOCTYPE html>
<html class="reftest-wait">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>

body { width: 300px; }

</style>

<script>

window.addEventListener("load", function() {
   var v = document.getElementById("v");
   v.style.width = "280px";
   v.style.height = "10px";
   setTimeout(function(){ document.documentElement.offsetHeight; document.documentElement.removeAttribute("class"); },0);
}, false);

</script>

<body>
<div><span style="unicode-bidi: isolate;"><span style="display: inline-block; float: right;" id="v"></span>D E<span style="unicode-bidi: isolate;"><span><span> &#x062a;</span></span></span></span></div>
</body>
</html>