layout/reftests/table-width/colspan-percent-distribution-1.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.

michael@0 1 <html>
michael@0 2 <head>
michael@0 3 <style type="text/css">
michael@0 4 table { width: 200px; }
michael@0 5 td { border: 1px solid black; }
michael@0 6 td.a { background: lightgreen; }
michael@0 7 td.b { background: orange; }
michael@0 8
michael@0 9 /* cellspacing=0 cellpadding=0 */
michael@0 10 table { border-spacing: 0 }
michael@0 11 td, th { padding: 0 }
michael@0 12 </style>
michael@0 13 </head>
michael@0 14 <body>
michael@0 15 <table>
michael@0 16 <tr>
michael@0 17 <td class="a" colspan="2" width="100%">x</td>
michael@0 18 <td class="b">x</td>
michael@0 19 </tr>
michael@0 20 <tr>
michael@0 21 <td/><td/><td/>
michael@0 22 </tr>
michael@0 23 </table>
michael@0 24 </body>
michael@0 25 </html>

mercurial