layout/reftests/position-sticky/inline-1-ref.html
author Carsten "Tomcat" Book <cbook@mozilla.com>
Fri, 31 Oct 2014 14:23:10 +0100
changeset 239819 0c31008f237b1e89ee11db93b30c68f90017b175
parent 162489 ed3db70c3f1e6ff87747852fa9c7d29fac638310
permissions -rw-r--r--
Merge mozilla-central to mozilla-inbound

<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->
<html>
  <head>
    <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
    <link rel="stylesheet" type="text/css" href="ahem.css">
    <style>
      #scroll {
        overflow: hidden;
        height: 200px;
        position: relative;
        font: 10px/1 Ahem;
      }
      #sticky {
        position: absolute;
        top: 20px;
        left: 20px;
      }
      #hidden {
        visibility: hidden;
      }
    </style>
  </head>
  <body>
    <div id="scroll">
      hello <div id="sticky"><span id="hidden">hello </span>there<br>everyone</div>
    </div>
  </body>
</html>