layout/reftests/table-width/cellspacing.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>cellspacing</title>
     5 </head>
     6 <body>
     8 <!-- compare to CSS border-spacing -->
     9 <table border cellspacing="7" style="padding: 0"><tr><td>This is some text.</td></tr></table>
    10 <table border cellspacing="0" style="padding: 7px 10px"><tr><td>This is some text.</td></tr></table>
    13 <!-- drop borders and ensure that we get the right amount of space -->
    15 <div style="border: medium solid; margin: 1em 0; float: left; clear: left;">
    16   <table border="0" cellpadding="0" cellspacing="8" style="padding: 0"><tr><td>This is some text.</td></tr></table>
    17 </div>
    19 <div style="border: medium solid; margin: 1em 0; float: left; clear: left;">
    20   <table border="0" cellpadding="0" cellspacing="0" style="padding: 3px 5px 7px 9px"><tr><td>This is some text.</td></tr></table>
    21 </div>
    23 </body>
    24 </html>

mercurial