layout/reftests/position-sticky/scrollframe-auto-1-ref.html
author Razvan Maries <rmaries@mozilla.com>
Sat, 18 Jan 2020 21:57:45 +0200
changeset 571223 fe6f34b2859f0706c88ec07199e30395041af258
parent 158851 bb399c38e3b684d56ad595f9ca1bbb59c0e09555
permissions -rw-r--r--
Backed out changeset b9df24255be1 (bug 1609665) for build bustages on ServiceWorkerManager.cpp. a=backout

<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->
<!-- Percentage sticky offsets should be computed correctly when
   - the scroll container is auto-sized -->
<html>
  <head>
    <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
    <style>
      body {
        overflow: scroll;
      }
      #scroll {
        height: auto;
        overflow: hidden;
        border: 1px solid black;
      }
      #sticky {
        position: relative;
        height: 10px;
        top: 105px;
        background-color: black;
      }
      .fill {
        height: 200px;
      }
    </style>
  <body>
    <div id="scroll">
      <div id="sticky"></div>
      <div class="fill"></div>
    </div>
  </body>
</html>