layout/reftests/mathml/mpadded-2-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     <title>Test mpadded</title>
     4     <style type="text/css">
     5       div#square1 {
     6         position: absolute;
     7         width: 100px;
     8         height: 100px;
     9         background: blue; 	
    10       }
    12       div#square2 {
    13         position:absolute;
    14         width: 20px;
    15         height: 20px;
    16         left: 10px; 
    17         top: 55px; 	
    18         background: red;
    19       }   
    20       /* left = lspace = 10; 
    21          top = heightBig - heightSmall - voffset; 
    22          top = 50 - 10 + 15 = 55px */
    23       </style>
    24   </head>
    25   <body>
    26     <div id="square1">
    27       <div id="square2">
    28       </div>
    29     </div>
    30   </body> 
    31 <html>

mercurial