layout/reftests/transform/compound-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 <html>
     2 <head>
     3   <style type="text/css">
     4     div.test
     5     {
     6     background-color: gold;
     7     width:200px;
     8     height:100px;
     9     border: 1px solid black;
    10     }
    11     div
    12     {
    13     -moz-transform-origin: top left;
    14     }
    15     body
    16     {
    17     overflow:hidden;
    18     }
    19   </style>
    20 </head>
    21 <body>
    22   <div style="position:relative; left:400px; top:200px;">
    23     <div style="-moz-transform: translate(100px);">
    24       <div style="-moz-transform: scale(2);">
    25 	<div style="-moz-transform: rotate(90deg);">
    26 	  <div style="-moz-transform: skew(15deg);">
    27 	    <div class="test">
    28 	    </div>
    29 	  </div>
    30 	</div>
    31       </div>
    32     </div>
    33   </div>
    34 </body>
    35 </html>

mercurial