1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/position-sticky/padding-3-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,40 @@ 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 + <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com"> 1.10 + <style> 1.11 + body { 1.12 + font-size: 0px; 1.13 + } 1.14 + #scroll { 1.15 + width: 80px; 1.16 + height: 80px; 1.17 + overflow: scroll; 1.18 + border: 10px solid black; 1.19 + padding: 10px; 1.20 + } 1.21 + #inner { 1.22 + position: relative; 1.23 + width: 100%; 1.24 + height: 100%; 1.25 + } 1.26 + #sticky { 1.27 + position: absolute; 1.28 + width: 10px; 1.29 + height: 10px; 1.30 + bottom: 20px; 1.31 + right: 20px; 1.32 + background-color: black; 1.33 + } 1.34 + </style> 1.35 + <body> 1.36 + <div id="scroll"> 1.37 + <div id="inner"> 1.38 + <div style="width: 100px; height: 100px"></div> 1.39 + <div id="sticky"></div> 1.40 + </div> 1.41 + </div> 1.42 + </body> 1.43 +</html>