mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
42 lines
971 B
HTML
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>
|