blob: a8ca72abe65191d5963f662028ae1e306f3ad461 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<!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>
|