layout/reftests/margin-collapsing/table-caption-1-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 <html>
     3 <head>
     4 <style type="text/css">
     5 #block1, #block2 {
     6  height: 20px;
     7  background-color: green;
     8 }
     9 #table {
    10  width: 100px;
    11  margin-right: auto;
    12 }
    13 #caption {
    14  height: 20px;
    15  background-color: blue;
    16 }
    17 .spacer {
    18  height: 30px;
    19 }
    20 </style>
    21 </head>
    22 <body>
    23 <div id="block1"></div>
    24 <div class="spacer"></div>
    25 <div id="table">
    26  <div id="caption"></div>
    27 </div>
    28 <div class="spacer"></div>
    29 <div id="block2"></div>
    30 </body>
    31 </html>

mercurial