gecko/layout/reftests/table-anonymous-boxes/302113-1.html
2009-03-25 17:34:28 -04:00

42 lines
971 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script type="text/javascript">
function doTest() {
var t = document.getElementById("t");
for (var i = 0; i < 5; ++i) {
document.body.offsetWidth;
t.style.display = "none";
document.body.offsetWidth;
t.style.display = "block";
}
document.documentElement.className = "";
}
</script>
</head>
<body onload="doTest()">
<span style="display: table">
<span style="display: table-row">
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
</span>
<span style="display: table-row">
<span style="display: block" id="t">Which column?</span>
</span>
</span>
</body>
</html>