layout/reftests/position-sticky/padding-2-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/position-sticky/padding-2-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +<!DOCTYPE html>
     1.5 +<!-- Any copyright is dedicated to the Public Domain.
     1.6 +   - http://creativecommons.org/publicdomain/zero/1.0/ -->
     1.7 +<html>
     1.8 +  <head>
     1.9 +    <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
    1.10 +    <style>
    1.11 +      #scroll {
    1.12 +        width: 80px;
    1.13 +        height: 80px;
    1.14 +        overflow: hidden;
    1.15 +        border: 10px solid black;
    1.16 +        padding: 10px;
    1.17 +      }
    1.18 +      #sticky {
    1.19 +        position: relative;
    1.20 +        width: 10px;
    1.21 +        height: 10px;
    1.22 +        top: 20px;
    1.23 +        background-color: black;
    1.24 +      }
    1.25 +    </style>
    1.26 +  <body>
    1.27 +    <div id="scroll">
    1.28 +      <div id="sticky">
    1.29 +      </div>
    1.30 +    </div>
    1.31 +  </body>
    1.32 +</html>

mercurial