layout/reftests/position-sticky/inline-3.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!DOCTYPE html>
michael@0 2 <!-- Any copyright is dedicated to the Public Domain.
michael@0 3 - http://creativecommons.org/publicdomain/zero/1.0/ -->
michael@0 4 <html>
michael@0 5 <head>
michael@0 6 <title>CSS Test: Sticky Positioning - inline with margins</title>
michael@0 7 <link rel="author" title="Corey Ford" href="mailto:corey@coreyford.name">
michael@0 8 <link rel="match" href="inline-3-ref.html">
michael@0 9 <meta name="assert" content="Sticky positioning on inline elements should keep the bounding box of all continuations' margin boxes contained">
michael@0 10 <link rel="stylesheet" type="text/css" href="ahem.css">
michael@0 11 <style>
michael@0 12 #scroll {
michael@0 13 overflow: hidden;
michael@0 14 height: 200px;
michael@0 15 font: 10px/1 Ahem;
michael@0 16 }
michael@0 17 #sticky {
michael@0 18 position: sticky;
michael@0 19 left: 20px;
michael@0 20 margin-right: 10px;
michael@0 21 }
michael@0 22 #contain {
michael@0 23 width: 100px;
michael@0 24 }
michael@0 25 </style>
michael@0 26 </head>
michael@0 27 <body>
michael@0 28 <div id="scroll">
michael@0 29 <div id="contain">
michael@0 30 test <span id="sticky">test<br>test</span>
michael@0 31 </div>
michael@0 32 </div>
michael@0 33 </body>
michael@0 34 </html>

mercurial