tor-browser

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

collapsed-borders-painting-order-006.html (941B)


      1 <!DOCTYPE html>
      2 <title>Painting order of collapsed table borders</title>
      3 <link rel="author" title="Oriol Brufau" href="obrufau@igalia.com">
      4 <link rel="help" href="https://drafts.csswg.org/css-tables/#border-collapsing">
      5 <link rel="help" href="https://drafts.csswg.org/css-position-4/#painting-order">
      6 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/11570">
      7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      8 <meta name="assert" content="
      9  The collapsed border of the table is painted in front of the border of the
     10  following block sibling, when the table has `display: inline-table`.
     11 ">
     12 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     13 <table style="border-collapse: collapse; display: inline-table; vertical-align: top">
     14  <td style="border: 50px solid green; padding: 0"></td>
     15 </table>
     16 <div style="border: 50px solid red; width: 0px; margin-top: -100px"></div>