tor-browser

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

subpixel-table-width-001.html (662B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
      3 <link rel="help" href="https://www.w3.org/TR/CSS22/syndata.html#value-def-percentage">
      4 <link rel="match" href="subpixel-table-width-001-ref.html">
      5 <meta name="assert" content="A table with width:100% has same actual width as its parent's actual width." />
      6 
      7 <style>
      8 .parent {
      9  background: red;
     10 }
     11 
     12 .parent table {
     13  background: #aaa;
     14  width: 100%;
     15  height: 100px;
     16 }
     17 </style>
     18 
     19 There should be two grey ~squares with no red showing.
     20 
     21 <div class="parent" style="width:100.2px">
     22  <table></table>
     23 </div>
     24 
     25 <div class="parent" style="width:100.8px">
     26  <table></table>
     27 </div>