layout/reftests/pagination/content-inserted-008.xhtml

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 PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3  <head>
     4   <title>Content Appended in Pagination before ::after</title>
     6   <style type="text/css">
     7     body {
     8       font-size: 16px;
     9     }
    11     #colset {
    12       height: 200px;
    13       width: 450px;
    14       -moz-column-width: 150px;
    15       -moz-column-gap: 0;
    16       border: 3px solid silver;
    17     }
    19     #shift {
    20       height: 0;
    21     }
    22     #overflow {
    23       height: 500px;
    24     }
    25 </style>
    26 </head>
    28 <body onload="document.getElementById('colset').insertBefore(document.createTextNode('This must be in the first column.'), document.getElementById('x'))">
    30 <div id="colset">
    31   <div id="shift">
    32     <div id="overflow"></div>
    33   </div
    34   ><div id="x">
    35   </div>
    36 </div>
    38 </body>
    40 </html>

mercurial