layout/reftests/position-sticky/overconstrained-3-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       #sticky {
    18         width: 1px;
    19         height: 10px;
    20         background-color: black;
    21       }
    22     </style>
    23   <body>
    24     <div id="scroll">
    25       <div id="sticky"></div>
    26     </div>
    27   </body>
    28 </html>

mercurial