layout/reftests/table-width/colspan-percent-distribution-2.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <html>
     2 <head>
     3 <style type="text/css">
     4   table { width: 200px;   }
     5   td.a  { background: lightgreen; }
     6   td.b  { background: orange;     }
     7   td.c  { background: yellow;     }
     8   td.d  { background: lightblue;  }
     9   td.e  { background: teal;     }
    11   /* cellspacing=0 cellpadding=0 */
    12   table  { border-spacing: 0 }
    13   td, th { padding: 0 }
    14 </style>
    15 </head>
    16 <body>
    17 <table>
    18   <tr>
    19     <td class="a" colspan="2" style="width: 100%;">x</td>
    20     <td class="b">x</td>
    21   </tr>
    22   <tr>
    23     <td class="c">x</td>
    24     <td class="d">x</td>
    25     <td class="e">x</td>
    26   </tr>
    27 </table>
    28 </body>
    29 </html>

mercurial