layout/reftests/table-width/default-box-sizing-separate-quirks.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 <head>
     3 <title>default box sizing (border-collapse: separate, standards mode)</title>
     4 <style type="text/css">
     6 body > div { float: left; clear: left; background: fuchsia; margin: 2px 0; }
     8 table {
     9   border-spacing: 5px 3px;
    10   padding: 2px 3px 4px 5px;
    11   border: medium solid blue;
    12   border-width: 2px 3px 4px 5px;
    13 }
    15 td {
    16   border: medium solid aqua;
    17   border-width: 2px 3px 4px 5px;
    18   padding: 5px 7px 9px 11px;
    19 }
    21 td > div {
    22   background: yellow;
    23 }
    25 </style>
    26 </head>
    27 <body>
    29 <div>
    30   <table width="200">
    31     <tr>
    32       <td><div>x</div></td>
    33     </tr>
    34   </table>
    35 </div>
    37 <div>
    38   <table>
    39     <tr>
    40       <td width="200"><div>x</div></td>
    41     </tr>
    42   </table>
    43 </div>
    45 </body>
    46 </html>

mercurial