tor-browser

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

collapsed-border-partial-invalidation-003.html (717B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <link rel="author" title="David Shin" href="dshin@mozilla.com">
      4 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1871609">
      5 <link rel="match" href="collapsed-border-partial-invalidation-003-ref.html">
      6 <meta name="assert" content="Invalidating part of a border-collapsed table keeps border styling correctly.">
      7 <style>
      8 table {
      9  border-collapse: collapse;
     10 }
     11 tr {
     12  border: 1px solid grey;
     13 }
     14 
     15 .foo {
     16  border-right: 20px solid black;
     17 }
     18 
     19 </style>
     20 <table>
     21  <tr>
     22    <td id="cell" class="foo">X</td>
     23    <td>X</td>
     24  </tr>
     25 </table>
     26 <script>
     27 onload = function () {
     28  cell.classList.remove("foo");
     29  document.documentElement.className = "";
     30 }
     31 </script>
     32 </html>