tor-browser

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

collapsed-borders-painting-order-008.html (1022B)


      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 outer table is painted in front of the collapsed border
     10  of the inner table, even if the outer table has `position: relative`.
     11  Gecko disagrees with this test.
     12 ">
     13 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     14 <table style="border-collapse: collapse; position: relative">
     15  <td style="border: 50px solid green; padding: 0">
     16    <table style="border-collapse: collapse; margin: -50px">
     17      <td style="border: 50px solid red; padding: 0"></td>
     18    </table>
     19  </td>
     20 </table>