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

42 строки
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>