layout/reftests/pagination/content-inserted-002.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       -moz-column-fill: auto;
    17       border: 3px solid silver;
    18     }
    20     #x {
    21       height: 500px;
    22     }
    24     #x:after {
    25       display: block;
    26       content: "";
    27       border-top: 4px solid blue;
    28     }
    30     #shift {
    31       height: 201px;
    32       border-bottom: 4px solid blue;
    33     }
    34 </style>
    35 </head>
    37 <body onload="document.getElementById('x').appendChild(document.createTextNode('This must be in the second column between two 4px blue lines.'))">
    39 <div id="colset">
    40   <div id="x">
    41     <div id="shift"></div>
    42   </div>
    43 </div>
    45 </body>
    47 </html>

mercurial