1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/position-sticky/bottom-2c.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 +<!-- --> 1.8 +<html> 1.9 + <head> 1.10 + <title>CSS Test: Sticky Positioning - bottom, stuck</title> 1.11 + <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com"> 1.12 + <link rel="match" href="bottom-2-ref.html"> 1.13 + <meta name="assert" content="Bottom-sticky with content above: should stick at the bottom of the scroll container"> 1.14 + <style> 1.15 + #scroll { 1.16 + height: 100px; 1.17 + overflow: hidden; 1.18 + } 1.19 + #sticky { 1.20 + position: sticky; 1.21 + bottom: 10px; 1.22 + height: 10px; 1.23 + background-color: black; 1.24 + } 1.25 + </style> 1.26 + </head> 1.27 + <body> 1.28 + <div id="scroll"> 1.29 + <div style="height: 200px"></div> 1.30 + <div id="sticky"></div> 1.31 + </div> 1.32 + </body> 1.33 +</html>