tor-browser

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

subpixel-table-cell-width-001.html (854B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="David Grogan" href="dgrogan@chromium.org">
      3 <link rel="help" href="https://www.w3.org/TR/CSS21/cascade.html#value-stages">
      4 <link rel="match" href="subpixel-table-cell-width-001-ref.html">
      5 <meta name="assert" content="When a cell has a specified fractional fixed width and a block has the same specified fractional width, their actual widths should match." />
      6 
      7 <style>
      8 .table {
      9  display: table;
     10  height: 20px;
     11  background: red;
     12 }
     13 .cell {
     14  display: table-cell;
     15 }
     16 div > div:first-child {
     17  background: blue;
     18 }
     19 div > div:nth-child(2) {
     20  background: lime;
     21 }
     22 </style>
     23 
     24 <div class=table>
     25  <div class=cell style="width:3.6px;"></div>
     26  <div class=cell style="width:3.6px;"></div>
     27 </div>
     28 
     29 <br><br>
     30 
     31 <div class=table>
     32  <div class=cell style="width:3.3px;"></div>
     33  <div class=cell style="width:3.3px;"></div>
     34 </div>