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

mercurial