mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
21 lines
544 B
HTML
21 lines
544 B
HTML
|
<!DOCTYPE html>
|
||
|
<html class="reftest-wait">
|
||
|
<head>
|
||
|
<script>
|
||
|
function doTest() {
|
||
|
var t = document.getElementById("t");
|
||
|
for (var i = 0; i < 10; ++i) {
|
||
|
document.body.offsetWidth;
|
||
|
t.style.display = "table-caption";
|
||
|
document.body.offsetWidth;
|
||
|
t.style.display = "";
|
||
|
}
|
||
|
document.documentElement.className = '';
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="doTest()">
|
||
|
<table border="5"><tbody><tr><td id="t">Some text</td></tr></tbody></table>
|
||
|
</body>
|
||
|
</html>
|