layout/reftests/table-dom/insertCellsExpandZeroRowspan.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">
     4 <HEAD>
     5 <SCRIPT src=tableDom.js>
     6 </SCRIPT>
     7 <SCRIPT>
     9 function doIt() {
    10   insertCellAt(0, 1, 1, 1);
    11   insertCellAt(0, 1, 1, 1);
    12   insertCellAt(1, 1, 1, 1);
    13   insertCellAt(1, 1, 1, 1);
    14 }
    15 </SCRIPT>  
    16 </HEAD>
    17 <BODY onload="doIt()">
    18 <table bgcolor=orange border>
    19  <tr>
    20   <td>c11</td><td rowspan ="0">c12</td>
    21  </tr>
    22  <tr>
    23   <td>c21</td>
    24  </tr>
    25  <tr>
    26   <td>c31</td>
    27  </tr>
    29 </table>
    30 </BODY></HTML>

mercurial