layout/reftests/position-sticky/column-contain-1a.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/position-sticky/column-contain-1a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,45 @@
     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 +    <title>CSS Test: Sticky Positioning - multiframe containing-block element</title>
    1.10 +    <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
    1.11 +    <link rel="match" href="column-contain-1-ref.html">
    1.12 +    <meta name="assert" content="Sticky positioning with a multiple-frame containing-block element should stay contained within the bounding box of all that element's frames">
    1.13 +    <style>
    1.14 +      #scroll {
    1.15 +        overflow: hidden;
    1.16 +        height: 200px;
    1.17 +        line-height: 1;
    1.18 +      }
    1.19 +      #contain {
    1.20 +        -moz-column-count: 2;
    1.21 +        column-count: 2;
    1.22 +        -moz-column-rule: 1px solid black;
    1.23 +        column-rule: 1px solid black;
    1.24 +        height: 200px;
    1.25 +        width: 200px;
    1.26 +      }
    1.27 +      #fill {
    1.28 +        height: 390px;
    1.29 +        background: blue;
    1.30 +      }
    1.31 +      #sticky {
    1.32 +        position: sticky;
    1.33 +        left: 190px;
    1.34 +        width: 10px;
    1.35 +        height: 10px;
    1.36 +        background: black;
    1.37 +      }
    1.38 +    </style>
    1.39 +  </head>
    1.40 +  <body>
    1.41 +    <div id="scroll">
    1.42 +      <div id="contain">
    1.43 +        <div id="sticky"></div>
    1.44 +        <div id="fill"></div>
    1.45 +      </div>
    1.46 +    </div>
    1.47 +  </body>
    1.48 +</html>

mercurial