mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
26 lines
547 B
HTML
26 lines
547 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<script>
|
|
function doTest() {
|
|
var n = document.getElementById("n");
|
|
for (var i = 0; i < 5; ++i) {
|
|
n.style.position = "absolute";
|
|
document.body.offsetWidth;
|
|
n.style.position = "";
|
|
document.body.offsetWidth;
|
|
}
|
|
document.documentElement.className = "";
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="doTest()">
|
|
<table border="5">
|
|
<tr>
|
|
<td id="n">TD</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|