gecko/layout/reftests/table-anonymous-boxes/302113-1.html

42 lines
971 B
HTML
Raw Normal View History

2009-03-25 14:34:28 -07:00
<!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>