editor/reftests/642800-iframe.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     <style>
     5         @media only screen and (max-width: 480px) {
     6             .overflow-hidden 
     7             {
     8                 overflow: hidden;
     9             }
    11             .float-left
    12             {
    13                 float: left;
    14                 background: #f0f;
    15             }
    16         }
    17     </style>
    18 </head>
    19 <body>
    20     <h1>Iframe content</h1>
    21     <div class="float-left">
    22         <textarea>This text should be visible when window is resized </textarea>
    24     </div>
    25     <div class="overflow-hidden">
    26         <textarea>This text should be visible when window is resized </textarea>
    27     </div>
    28 </body>
    29 </html>

mercurial