layout/base/crashtests/243519-1.html
author Tim Huang <tihuang@mozilla.com>
Wed, 16 Jul 2025 17:26:02 +0000 (7 hours ago)
changeset 796860 b48b65b15c8e8520f1eedcbd3aa29b2669fc3d20
parent 18887 14ce7619e9c186286e15419bb7800b3fd5c3e34f
permissions -rw-r--r--
Bug 1976834 - Add the SafeBrowsing V5 protobuf files. r=dimi Differential Revision: https://phabricator.services.mozilla.com/D257225
<!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>