tor-browser

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

c5503-mrgn-b-000.xht (3676B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: margin-bottom</title>
      5   <meta name="flags" content="ahem" />
      6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#margin-bottom"/>
      7   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
      8   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      9   <link rel="match" href="c5503-mrgn-b-000-ref.xht" />
     10 
     11   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12   <style type="text/css"><![CDATA[
     13    .test { font: 10px/1 Ahem; width: 10em; border: solid black; padding: 0; background: yellow; color: orange; }
     14    .zero {background-color: teal; margin-bottom: 0;}
     15    .one {margin-bottom: 5.29166mm; background-color: aqua;}
     16    .two {margin-bottom: 20px; background-color: blue;}
     17    .three {margin-bottom: 2em; background-color: aqua;}
     18    .four {margin-bottom: 20%; background-color: teal;}
     19    .five {margin-bottom: 20px;}
     20    .six {margin-bottom: -10px; background-color: aqua;}
     21    p, ul, li {margin: 0; padding: 0; list-style:none;}
     22 
     23    .control { border: solid black; padding: 0; background: red; }
     24    .control .teal { background: teal; }
     25    .control .aqua { background: aqua; }
     26    .control .blue { background: blue; }
     27    .control .yellow { background: yellow; }
     28    .control .long { width: 70px; height: 10px; background: orange; }
     29    .control .short { width: 40px; height: 10px; background: orange; }
     30    .control .blank { width: 100px; height: 20px; }
     31   ]]></style>
     32   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#margin-properties" title="8.3 Margin properties: 'margin-top',  'margin-right',  'margin-bottom', 'margin-left', and 'margin'"/>
     33  </head>
     34  <body>
     35   <p>The two diagrams below should be identical, with no red present.</p>
     36   <table>
     37    <tr>
     38     <td class="test">
     39      <p class="zero">
     40       xxxxxxx
     41      </p>
     42      <p class="zero">
     43       xxxx
     44      </p>
     45      <p class="one">
     46       xxxxxxx xxxx
     47      </p>
     48      <p class="two">
     49       xxxxxxx xxxx
     50      </p>
     51      <p class="three">
     52       xxxxxxx xxxx
     53      </p>
     54      <p class="four">
     55       xxxxxxx xxxx
     56      </p>
     57      <ul class="two">
     58       <li>xxxxxxx</li>
     59       <li>xxxx</li>
     60       <li class="five">xxxxxxx</li>
     61       <li>xxxx</li>
     62      </ul>
     63      <p class="zero">
     64       xxxxxxx xxxx
     65      </p>
     66      <p class="six">
     67       xxxxxxx xxxx
     68      </p>
     69      <p class="zero">
     70       xxxx
     71      </p>
     72     </td>
     73     <td class="control">
     74      <div class="teal"><div class="long"></div><div class="short"></div></div>
     75      <div class="aqua"><div class="long"></div><div class="short"></div></div>
     76      <div class="yellow"><div class="blank"></div></div>
     77      <div class="blue"><div class="long"></div><div class="short"></div></div>
     78      <div class="yellow"><div class="blank"></div></div>
     79      <div class="aqua"><div class="long"></div><div class="short"></div></div>
     80      <div class="yellow"><div class="blank"></div></div>
     81      <div class="teal"><div class="long"></div><div class="short"></div></div>
     82      <div class="yellow"><div class="blank"></div></div>
     83      <div class="blue"><div class="long"></div><div class="short"></div><div class="long"></div></div>
     84      <div class="blue"><div class="blank"></div></div>
     85      <div class="blue"><div class="short"></div></div>
     86      <div class="yellow"><div class="blank"></div></div>
     87      <div class="teal"><div class="long"></div><div class="short"></div></div>
     88      <div class="aqua"><div class="long"></div></div>
     89      <div class="teal"><div class="short"></div></div>
     90     </td>
     91    </tr>
     92   </table>
     93  </body>
     94 </html>