layout/reftests/transform-3d/preserve3d-2d.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 type="text/css">
     4         #grandparent {
     5           width: 100px;
     6           height: 100px;
     7           -moz-transform-style: preserve-3d;
     8           -moz-transform: translatex(200%);
     9         }
    10         #parent {
    11           -moz-transform-style: preserve-3d;
    12         }
    14         #child {
    15           width: 100px;
    16           height: 100px;
    17           background-color: red;
    18           -moz-transform: translatex(-200px);
    19         }
    21         </style>
    22     </head>
    23     <body>
    24         <div id="grandparent">
    25             <div id="parent">
    26                 <div id="child"></div>
    27             </div>
    28         </div>
    29     </body>
    30 </html>

mercurial