layout/reftests/transform/descendant-1.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 <html>
     2 <head>
     3   <style>
     4     #div1 {
     5       background: green;
     6       height: 100px;
     7       width: 100px;
     8     }
     9     span {
    10       background: yellow;
    11     }
    12     #div1 div {-moz-transform: translate(20px, 150px);
    13                -moz-transform-origin: 0% 0%;
    14     }
    15   </style>
    16 </head>
    17 <body>
    18   <div id="div1">
    19     <div><span>span 1</span></div>
    20   </div>
    21   <span>span 2</span>
    22 </body>
    23 </html>

mercurial