layout/reftests/table-width/percent-large-nested-ref.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>
     2 <html>
     3 <head>
     4 <title>Percent widths on table cells</title>
     5 <style type="text/css">
     7 td > table {
     8   border-spacing: 3px 5px;
     9   padding: 2px 3px 4px 5px;
    10 }
    12 td {
    13   border: none;
    14   padding: 0;
    15 }
    17 span {
    18   display: inline-block;
    19   width: 50px;
    20   background: fuchsia;
    21   color: fuchsia;
    22 }
    24 </style>
    25 </head>
    26 <body>
    28 <table border><tr><td>
    29 <table><tr>
    30 <td style="background: yellow;color:yellow;width:100px"><span>x</span></td>
    31 <td style="background:aqua;color:aqua;width:100px"><span>x</span>&#x200b;<span>x</span>&#x200b;<span>x</span></td>
    32 </tr></table>
    33 </td></tr></table>
    35 </body>
    36 </html>

mercurial