pjs/layout/reftests/bugs/406484-1.html

21 строка
498 B
HTML
Исходник Обычный вид История

<!DOCTYPE html>
<html>
<body style="border:3px solid;">
<div style="float:left;">Kitty</div>
<div>
<div><div style="clear:both"></div></div>
Kitty
<div style="clear:both">.</div>
<div style="float:left;"></div>
</div>
<div id="i">x</div>
<div style="clear:both"></div>
<script>
document.body.offsetTop;
document.getElementById("i").textContent += "x";
document.body.offsetTop;
document.getElementById("i").textContent += "x";
</script>
</body>
</html>