layout/reftests/pagination/resize-reflow-000.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>Resize Reflow Test</title>
     5 </head>
     6 <body>
     8 <div style="-moz-column-width: 12em;
     9             border: silver solid;
    10             width: 30em" id="outer">
    11 x <div style="border: dotted;
    12               background: aqua;
    13               color: gray;">
    14         blah<br>
    15         blah<br>
    16         blah<br>
    17         blah
    18   </div>
    19 </div>
    21 <script>
    22 document.body.offsetWidth;
    23 n = document.getElementById("outer").firstChild;
    24 n.data = ' ';
    25 </script>
    27 </body>
    28 </html>

mercurial