layout/reftests/position-sticky/overconstrained-1.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!DOCTYPE html>
     2 <!-- Any copyright is dedicated to the Public Domain.
     3    - http://creativecommons.org/publicdomain/zero/1.0/ -->
     4 <html>
     5   <head>
     6     <title>CSS Test: Sticky Positioning - top+bottom, overconstrained</title>
     7     <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
     8     <link rel="match" href="overconstrained-1-ref.html">
     9     <meta name="assert" content="Top+bottom-sticky with a tall element: should not act as bottom-sticky">
    10     <style>
    11       #scroll {
    12         height: 100px;
    13         overflow: hidden;
    14       }
    15       #sticky {
    16         position: sticky;
    17         top: 10px;
    18         bottom: 10px;
    19         height: 81px;
    20         background-color: black;
    21       }
    22     </style>
    23   </head>
    24   <body>
    25     <div id="scroll">
    26       <div style="height: 95px"></div>
    27       <div id="sticky"></div>
    28       <div style="height: 100px"></div>
    29     </div>
    30   </body>
    31 </html>

mercurial