layout/reftests/table-dom/appendCellsZeroColspan.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" 
     2 "http://www.w3.org/TR/REC-html40/strict.dtd">
     3 <HEAD>
     4 <SCRIPT src=tableDom.js>
     5 </SCRIPT>
     6 <SCRIPT>
     8 function doIt() {
     9   appendCellAt(1, 1, 0);
    11   appendCellAt(2, 0, 1);
    12   }
    13 </SCRIPT>  
    14 </HEAD>
    15 <BODY onload="doIt()">
    17 <table bgcolor=orange border>
    18  <tr>
    19   <td>c11</td><td>c12</td><td>c13</td><td>c14</td>
    20  </tr>
    21 <tr><td>c21</td></tr>
    22 </table>
    23 <table bgcolor=orange border>
    24  <tr><td>c11</td> </tr>
    25 <tr><td>c21</td> </tr>
    26 <tr><td>c22</td> </tr>
    27 <tr><td>c23</td> </tr>
    28 <tr><td>c24</td> </tr>
    30 </table>
    31 </BODY></HTML>

mercurial