layout/reftests/position-sticky/initial-scroll-1-ref.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 <!-- Any copyright is dedicated to the Public Domain.
     3    - http://creativecommons.org/publicdomain/zero/1.0/ -->
     4 <html>
     5   <head>
     6     <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
     7     <style>
     8       #scroll {
     9         width: 100px;
    10         height: 100px;
    11         overflow: hidden;
    12         direction: rtl;
    13       }
    14       #inner {
    15         width: 200px;
    16         height: 200px;
    17         direction: ltr;
    18       }
    19       #sticky {
    20         position: relative;
    21         left: 110px;
    22         width: 10px;
    23         height: 10px;
    24         background-color: black;
    25       }
    26     </style>
    27   <body>
    28     <div id="scroll">
    29       <div id="inner">
    30         <div id="sticky">
    31         </div>
    32       </div>
    33     </div>
    34   </body>
    35 </html>

mercurial