layout/reftests/abs-pos/table-3.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 <html>
     3 <head>
     4 <style type="text/css">
     5 .table {display: table; position: relative; left:50px; top: 50px; outline: red dotted 1px;width: 200px; height:200px;}
     6 .lc {position: absolute; left:0px; top:0px;border: green dotted 1px;width: 20px; height:20px;}
     7 .rc {position: absolute; right:0px; top:0px;border: blue dotted 1px;width: 20px; height:20px;}
     8 .brc {position: absolute; right:0px; bottom:0px;border: blue dotted 1px;width: 20px; height:20px;}
     9 </style>
    10 </head>
    11 <body>
    12 <div class="table">
    13   <div class="lc"></div>
    14   <div class="brc"></div>
    15 </div>
    16 </body>
    17 </html>

mercurial