layout/reftests/backgrounds/attachment-local-positioning-3-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 <title>CSS Reftest Reference: background-attachment: local</title>
     3 <link rel="author" title="Simon Sapin" href="http://exyr.org/about/" />
     4 <style>
     5 #outer {
     6   border: solid;
     7   background: url(aqua-yellow-32x32.png) local no-repeat 178px 278px;
     8   overflow: hidden;
     9   width: 200px;
    10   height: 300px;
    11 }
    12 div div {
    13   width: 250px;
    14   height: 370px;
    15 }
    16 p {
    17   margin: 0;
    18   padding-top: 100px;
    19   text-align: right;
    20   position: relative;
    21   top: -60px;
    22   left: -40px;
    23 }
    24 </style>
    25 <div id=outer>
    26   <div>
    27     <p><img src=blue-32x32.png style="width: 160px"></p>
    28   </div>
    29 </div>

mercurial