layout/reftests/position-sticky/bottom-2c.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial