tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

margin-collapse-101-ref.xht (1095B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Reftest Reference</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10 
     11   <style type="text/css"><![CDATA[
     12   table
     13   {
     14   border: solid 3px;
     15   border-spacing: 0;
     16   font-size: 50px;
     17   }
     18 
     19   td
     20   {
     21   background-color: orange;
     22   padding: 0;
     23   }
     24 
     25   div {margin: 1em 0;}
     26 
     27   .a {background-color: yellow;}
     28 
     29   .b {background-color: lime;}
     30 
     31   .c {background-color: aqua;}
     32 
     33   .d {background-color: blue;}
     34   ]]></style>
     35 
     36  </head>
     37 
     38  <body>
     39 
     40   <p>Test passes if there is a stack of multi-colored horizontal bars with no red.</p>
     41 
     42   <table>
     43    <tr>
     44     <td>
     45      <div class="d">
     46       <div class="a">A</div>
     47       <div class="b">B</div>
     48       <div class="c">C</div>
     49      </div>
     50     </td>
     51     <td>
     52      <div class="d">
     53       <div class="a">A</div>
     54       <div class="b">B</div>
     55       <div class="c">C</div>
     56      </div>
     57     </td>
     58    </tr>
     59   </table>
     60 
     61  </body>
     62 </html>