gecko/layout/html/tests/block/bugs/39683.html

21 lines
394 B
HTML

<html>
<head>
<style>
div {
border: 3px solid red;
}
</style>
</head>
<body>
<table border="1">
<td>
<div id="d">test test test tes tes tes test es </div>
</td>
</table>
<script type="text/javascript">
var v = document.body.offsetHeight;
document.getElementById("d").style.width = "100px";
</script>
</body>
</html>