gecko/layout/reftests/table-anonymous-boxes/203923-2.html

23 lines
682 B
HTML
Raw Normal View History

2009-03-25 12:51:58 -07:00
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script type="text/javascript">
function doTest() {
var t = document.getElementById("t");
t.style.display = "none";
document.body.offsetWidth;
t.style.display = "table-cell";
document.documentElement.className = "";
}
</script>
</head>
<body onload="doTest()">
<span style="display: block">
<span style="display: table-cell">a</span>
<span style="display: table-cell; white-space: pre"> </span>
<span style="display: table-cell;" id="t">bc</span>
<span style="display: table-cell; white-space: pre"> </span>
<span style="display: table-cell">d</span>
</body>
</html>