layout/reftests/position-sticky/inline-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     <link rel="stylesheet" type="text/css" href="ahem.css">
     8     <style>
     9       #scroll {
    10         overflow: hidden;
    11         height: 200px;
    12         position: relative;
    13         font: 10px/1 Ahem;
    14       }
    15       #sticky {
    16         position: absolute;
    17         top: 20px;
    18         left: 20px;
    19       }
    20       #hidden {
    21         visibility: hidden;
    22       }
    23     </style>
    24   </head>
    25   <body>
    26     <div id="scroll">
    27       hello <div id="sticky"><span id="hidden">hello </span>there<br>everyone</div>
    28     </div>
    29   </body>
    30 </html>

mercurial