layout/reftests/abs-pos/abs-pos-auto-margin-1-ref.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE HTML>
     2 <title>'auto' top and bottom margins on absolutely positioned elements</title>
     3 <style>
     5 body > div {
     6   position: relative;
     7   height: 100px;
     8   border: medium solid;
     9 }
    11 body > div > div {
    12   position: absolute;
    13   top: 0;
    14   height: 40px;
    15   width: 10px;
    16   background: blue;
    17 }
    19 </style>
    20 <div>
    21   <div style="left: 10px;top: 10px"></div>
    22   <div style="left: 30px;top: 40px"></div>
    23   <div style="left: 50px;top: 10px"></div>
    24   <div style="left: 70px;top: 30px"></div>
    25 </div>

mercurial