layout/reftests/pagination/resize-reflow-001.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 class="reftest-wait">
     3 <title>Resize Reflow Harness</title>
     4   <style>
     5     html,body { height: 100%; overflow:hidden; }
     6   </style>
     7 <body onload="
     8 var iframe = document.getElementById('outer')
     9 iframe.style.width = '50em';
    10 iframe.contentDocument.body.offsetWidth;
    11 iframe.style.width = '28em';
    12 document.documentElement.className = '';
    13 ">
    15 <iframe id="outer" src="resize-reflow-001.inner.html" height="90%" frameborder=0></iframe>
    17 <script>
    19 </script>

mercurial