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

mercurial