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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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 - bottom, normal position</title>
     7     <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
     8     <link rel="match" href="bottom-2-ref.html">
     9     <meta name="assert" content="Bottom-sticky with some content above: should stay in its normal position (but will stick beyond this point)">
    10     <style>
    11       #scroll {
    12         height: 100px;
    13         overflow: hidden;
    14       }
    15       #sticky {
    16         position: sticky;
    17         bottom: 10px;
    18         height: 10px;
    19         background-color: black;
    20       }
    21     </style>
    22   </head>
    23   <body>
    24     <div id="scroll">
    25       <div style="height: 80px"></div>
    26       <div id="sticky"></div>
    27     </div>
    28   </body>
    29 </html>

mercurial