layout/reftests/position-sticky/inline-3-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/position-sticky/inline-3-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     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:corey@coreyford.name">
    1.10 +    <link rel="stylesheet" type="text/css" href="ahem.css">
    1.11 +    <style>
    1.12 +      #scroll {
    1.13 +        overflow: hidden;
    1.14 +        height: 200px;
    1.15 +        position: relative;
    1.16 +        font: 10px/1 Ahem;
    1.17 +      }
    1.18 +      #sticky {
    1.19 +        position: absolute;
    1.20 +        top: 0;
    1.21 +        left: 10px;
    1.22 +      }
    1.23 +      #hidden {
    1.24 +        visibility: hidden;
    1.25 +      }
    1.26 +    </style>
    1.27 +  </head>
    1.28 +  <body>
    1.29 +    <div id="scroll">
    1.30 +      test <span id="sticky"><span id="hidden">test </span>test<br>test</span>
    1.31 +    </div>
    1.32 +  </body>
    1.33 +</html>

mercurial