layout/reftests/position-sticky/padding-2-ref.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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: 80px;
    10         height: 80px;
    11         overflow: hidden;
    12         border: 10px solid black;
    13         padding: 10px;
    14       }
    15       #sticky {
    16         position: relative;
    17         width: 10px;
    18         height: 10px;
    19         top: 20px;
    20         background-color: black;
    21       }
    22     </style>
    23   <body>
    24     <div id="scroll">
    25       <div id="sticky">
    26       </div>
    27     </div>
    28   </body>
    29 </html>

mercurial