layout/reftests/position-sticky/right-1-ref.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     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     <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
     7     <style>
     8       #scroll {
     9         width: 100px;
    10         height: 100px;
    11         border: 1px solid black;
    12         white-space: nowrap;
    13       }
    14       #scroll div {
    15         display: inline-block;
    16       }
    17       .fill {
    18         width: 100px;
    19         height: 1px;
    20       }
    21       #contain {
    22         width: 5px;
    23         height: 10px;
    24         background-color: gray;
    25       }
    26       #sticky {
    27         width: 5px;
    28         height: 10px;
    29         background-color: black;
    30       }
    31     </style>
    32   <body>
    33     <div id="scroll">
    34       <div class="fill" style="width: 95px"></div
    35       ><div id="contain">
    36         <div id="sticky"></div>
    37       </div>
    38     </div>
    39   </body>
    40 </html>

mercurial