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

mercurial