tor-browser

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

subpixel-collapsed-borders-003.html (845B)


      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/tables.html#collapsing-borders">
      4 <link rel="help" href="https://drafts.csswg.org/css-tables-3/#border-conflict-resolution-algorithm">
      5 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/606">
      6 <link rel="match" href="reference/subpixel-collapsed-borders-003-ref.html">
      7 <meta name="assert" content="When collapsed border tables have border widths that, after flooring, are equal to cells', the cell border wins." />
      8 
      9 <style>
     10 table {
     11  border: 5.95px solid red;
     12  border-collapse: collapse;
     13 }
     14 
     15 td {
     16  width: 50px;
     17  height: 50px;
     18  border: 5px solid green;
     19 }
     20 </style>
     21 
     22 <p>
     23  There should be a square with a green border, not a red border.
     24 </p>
     25 
     26 <table>
     27  <tr>
     28    <td></td>
     29  </tr>
     30 </table>