1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/position-sticky/inline-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 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 + <title>CSS Test: Sticky Positioning - inline</title> 1.10 + <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com"> 1.11 + <link rel="match" href="inline-1-ref.html"> 1.12 + <meta name="assert" content="Sticky positioning on inline elements should use the bounding box of all continuations"> 1.13 + <link rel="stylesheet" type="text/css" href="ahem.css"> 1.14 + <style> 1.15 + #scroll { 1.16 + overflow: hidden; 1.17 + height: 200px; 1.18 + font: 10px/1 Ahem; 1.19 + } 1.20 + #sticky { 1.21 + position: sticky; 1.22 + top: 20px; 1.23 + left: 20px; 1.24 + } 1.25 + </style> 1.26 + </head> 1.27 + <body> 1.28 + <div id="scroll"> 1.29 + hello <span id="sticky">there<br>everyone</span> 1.30 + </div> 1.31 + </body> 1.32 +</html>