layout/reftests/table-width/conflicting-percent-widths-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 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Conflicting percent widths on table cells</title>
     5 <style type="text/css">
     7 table, td {
     8   border-spacing: 0;
     9   border: none;
    10   padding: 0;
    11 }
    13 </style>
    14 </head>
    15 <body>
    17 <!-- small percentage effect operates per-column -->
    19 <table>
    20   <tr>
    21     <td style="background: yellow" width="1%">x</td>
    22     <td style="background: aqua">x</td>
    23   </tr>
    24   <tr>
    25     <td style="background: blue" width="50%">x</td>
    26     <td style="background: fuchsia">x</td>
    27   </tr>
    28 </table>
    30 <table>
    31   <tr>
    32     <td style="background: fuchsia">x</td>
    33     <td style="background: blue" width="50%">x</td>
    34   </tr>
    35   <tr>
    36     <td style="background: aqua">x</td>
    37     <td style="background: yellow" width="1%">x</td>
    38   </tr>
    39 </table>
    41 </body>
    42 </html>

mercurial