layout/reftests/margin-collapsing/table-caption-top-2.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 <html>
     3 <head>
     4 <style type="text/css">
     5 .block {
     6  height: 20px;
     7  background-color: green;
     8 }
     9 #table {
    10  display: table;
    11  width: 100px;
    12  margin: 10px 0;
    13 }
    14 #caption {
    15  display: table-caption;
    16  caption-side: top;
    17  height: 20px;
    18  margin: 20px 0;
    19  background-color: blue;
    20 }
    21 #cell {
    22  display: table-cell;
    23  height: 20px;
    24  background-color: orange;
    25 }
    26 </style>
    27 </head>
    28 <body>
    29 <div class="block"></div>
    30 <div id="table">
    31  <div id="caption"></div>
    32  <div id="cell"></div>
    33 </div>
    34 <div class="block"></div>
    35 </body>
    36 </html>

mercurial