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

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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