tor-browser

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

absolute-tables-013.html (746B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://crbug.com/1128941">
      3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      4 <meta name="assert" content="A positioned absolute table should respect its main-size, and never go below its min-content size.">
      5 <style>
      6 table {
      7  position: absolute;
      8  width: 50%;
      9  border-spacing: 0;
     10 }
     11 td {
     12  width: 100%;
     13  line-height: 0;
     14  padding: 0;
     15  background: red;
     16 }
     17 span {
     18  display: inline-block;
     19  width: 100px;
     20  height: 50px;
     21  background: green;
     22 }
     23 </style>
     24 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     25 <div style="width: 200px; height: 200px; position: relative;">
     26  <table>
     27    <td>
     28      <span></span>
     29      <span></span>
     30    </td>
     31  </table>
     32 </div>