layout/reftests/table-width/shrink-wrap-pref.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>Shrink-wrapping of tables</title>
     5 <style type="text/css">
     7 table, td {
     8   border: none;
     9   margin: 0;
    10   padding: 0;
    11   border-spacing: 0;
    12 }
    14 span {
    15   display: inline-block;
    16   width: 50px;
    17   background: yellow;
    18   color: black;
    19 }
    21 </style>
    22 </head>
    23 <body>
    25 <div style="width: 400px"><table><tr>
    26 <td style="background:aqua;color:aqua"><span>x</span>&#x200b;<span>x</span>&#x200b;<span>x</span>&#x200b;<span>x</span></td>
    27 </tr></table></div>
    29 </body>
    30 </html>

mercurial