tor-browser

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

76331-1.html (1925B)


      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
      2 <head><title>bug 76311 table empty-cells:hide</title>
      3 <style>
      4 table   {
      5  empty-cells:hide;
      6  background-color:red;
      7  padding:0;
      8  border-spacing:0;
      9 }
     10 table.empty {
     11  background-color:green;
     12 }
     13 td {
     14  background-color:green;
     15  padding:0;
     16  color:green;
     17 }
     18 td.empty {
     19  background-color:red;
     20 }
     21 </style>
     22 </head>
     23 
     24 <body>
     25 <!-- empty elements should be marked as empty-->
     26 <table class="empty">
     27  <tr><td class="empty"></td><td>X</td></tr>
     28  <tr><td>X</td><td class="empty"></td></tr>
     29 </table>
     30 <!-- collapsed whitespace:  space + CR  should be marked as empty-->
     31 <table class="empty">
     32  <tr><td class="empty">                </td><td>X</td></tr>
     33  <tr><td>X</td><td class="empty">
     34  
     35  
     36  </td></tr>
     37 </table>
     38 <!-- not collapsed whitespace:  space + tab  should not be marked as empty-->
     39 <table style="white-space: pre">
     40  <tr><td>  </td><td>X</td></tr>
     41  <tr><td>X</td><td>	</td></tr>
     42 </table>
     43 
     44 
     45 <!-- div with whitespace, empty span - should not be marked as empty -->
     46 <table>
     47  <tr><td><div> </div></td><td>X</td></tr>
     48  <tr><td>X</td><td><span></span></td></tr>
     49 </table>
     50 
     51  <!--float empty or not  should not be marked as empty -->
     52 <table>
     53  <tr><td><div style="float:left;">X</div></td><td>X</td></tr>
     54  <tr><td>X</td><td><div style="float:left;"></div></td></tr>
     55 </table>
     56 
     57 <!-- position:fixed and position:absolute  - both should be marked as empty -->
     58 <table class="empty">
     59  <tr><td class="empty"><div style="position:fixed; left: 30px;">X</div></td><td>X</td></tr>
     60  <tr><td>X</td><td class="empty"><div style="position:absolute; left: 30px;">X</div></td></tr>
     61 </table>
     62 <!-- font size 0 makes textframes with no extent -->
     63 <table>
     64  <tr><td style="font-size:0">xxxx</td><td>X</td></tr>
     65  <tr><td>X</td><td><img src="" style="width:0; height:0"></td></tr>
     66 </table>
     67 
     68 </body>
     69 </html>