layout/reftests/backgrounds/table-background.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 <html>
     2 <body>
     3 <table background="aqua-yellow-32x32.png">
     4   <thead background="blue-16x20-green-16x20.png">
     5     <tr>
     6       <td>
     7         Foo
     8       </td>
     9       <td background="yellow-32x32.png">
    10         Bar
    11       </td>
    12     </tr>
    13   </thead>
    14   <tbody background="red-32x32.png">
    15     <tr>
    16       <th background="fuchsia-32x32.png">
    17         Foo
    18       </th>
    19       <th>
    20         Bar
    21       </th>
    22     </tr>
    23     <tr background="fuchsia-32x32.png">
    24       <td>
    25         Foo
    26       </td>
    27       <td background="yellow-32x32.png">
    28         Bar
    29       </td>
    30     </tr>
    31   </tbody>
    32   <tfoot background="yellow-32x32.png">
    33     <tr>
    34       <td>
    35         Baz
    36       </td>
    37     </tr>
    38   </tfoot>
    39 </table>
    40 </body>
    41 </html>

mercurial