tor-browser

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

overflow-hidden-table.html (878B)


      1 <!DOCTYPE html>
      2 <title>Overflow hidden and captions</title>
      3 <link rel="author" title="Aleks Totic" href="atotic@chromium.org" />
      4 <link rel="help" href="https://www.w3.org/TR/css-tables-3/#global-style-overrides" />
      5 <link rel="match" href="overflow-hidden-table-ref.html" />
      6 <meta name="assert" content="Overflow hidden clips table grid, but not captions.">
      7 <style>
      8 main * {
      9  box-sizing: border-box;
     10 }
     11 main table {
     12  overflow: hidden;
     13  border: 20px solid green;
     14  border-spacing: 0px;
     15 }
     16 main caption {
     17  height: 30px;
     18  background: lightblue;
     19 }
     20 main td {
     21  padding:0px;
     22  width: 50px;
     23  height:50px;
     24 }
     25 </style>
     26 <main>
     27  <table>
     28    <tr>
     29      <td>
     30        <div style="width:50px;height:50px">
     31          <div style="width:500px;height:500px;background:pink"></div>
     32        </div>
     33      </td>
     34    </tr>
     35  <caption style="caption-side:bottom">caption</caption>
     36  </table>
     37 </main>