layout/reftests/abs-pos/fixed-pos-auto-offset-1b.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   <!-- Important: no meta charset! -->
     5   <title>Testcase Bug 851514</title>
     6   <style>
     7   #parent {
     8     position: fixed;
     9     height: 30px;
    10     width: 30px;
    11     background: green;
    12     left: 70px;
    13     top: 70px;
    14     overflow: hidden;
    15   }
    16   #child {
    17     position: fixed;
    18     top: auto;
    19     left: auto;
    20     width: 10px;
    21     height: 10px;
    22     background: purple;
    23   }
    24   </style>
    25 </head>
    26 <body>
    27   <div id="parent">
    28     <div id="child"></div>
    29   </div>
    30   The purple block should be inside the green block.
    31 </body>
    32 </html>

mercurial