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

26 строки
543 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.cssFloat = "left";
document.body.offsetWidth;
n.style.cssFloat = "";
document.body.offsetWidth;
}
document.documentElement.className = "";
}
</script>
</head>
<body onload="doTest()">
<table border="5">
<tr>
<td id="n">TD</td>
</tr>
</table>
</body>
</html>