<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript">
function c()
{
  document.getElementById("a").style.height = "10em";
  document.body.offsetHeight;
  document.getElementById("a").style.height = "";
}
</script>
</head>
<body onload="c();">
<span id="a"><span>a</span>b<span>א</span>c</span>
</body>
</html>