tor-browser

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

76331-1-ref.html (1841B)


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