gecko/layout/base/crashtests/243519-1.html

31 lines
898 B
HTML
Raw Normal View History

<!DOCTYPE HTML>
<html>
<body>
<div style="position:absolute;">Hello</div>
<div style="position:fixed;">Kitty</div>
<script>
document.body.offsetTop;
document.documentElement.style.display = "table";
document.body.offsetTop;
document.documentElement.style.display = "";
document.body.offsetTop;
document.documentElement.style.position = "absolute";
document.body.offsetTop;
document.documentElement.style.display = "table";
document.body.offsetTop;
document.documentElement.style.display = "";
document.body.offsetTop;
document.documentElement.style.position = "fixed";
document.body.offsetTop;
document.documentElement.style.display = "table";
document.body.offsetTop;
document.documentElement.style.display = "";
document.documentElement.style.position = "";
document.body.offsetTop;
</script>
</body>
</html>