layout/reftests/async-scrolling/position-sticky-async-zoom-1-ref.html
author Kashav Madan <kshvmdn@gmail.com>
Fri, 20 Jul 2018 17:48:30 -0400
changeset 487399 ca7f6311613cbf7dd2a5151fed6deba9c4141543
permissions -rw-r--r--
Bug 1465616 - Add async-scroll reftests. r=botond The first set of tests test that fixed/sticky position elements are no longer attached to the visual viewport (i.e., that they go "out of view" when the visual viewport is scrolled) and the second set of tests test that fixed/sticky position elements are attached to the layout viewport (i.e., that they "follow" the layout viewport when it's scrolled). MozReview-Commit-ID: 6H2f0oz9lW7

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=2.0">
  <style>
    body {
      height: 3000px;
      margin: 0;
      overflow: hidden;
    }
    div {
      position: fixed;
      top: -50px;
      width: 100px;
      height: 100px;
      background: green;
    }
  </style>
</head>
<body>
  <div></div>
</body>
</html>