layout/reftests/mathml/dir-4.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 <!DOCTYPE html>
     2 <html>
     3   <head><title>Test dir=rtl</title></head>
     4   <body style="background: white;">
     6     <!-- menclose notation=radical -->
     8     <div style="position: absolute;
     9                 top: 5px; left: 5px; width: 100px; height: 100px;
    10                 text-align: center; background: black;">
    11       <math dir="rtl">
    12         <mstyle mathcolor="yellow">
    13           <!-- left and right notation make the menclose symmetric -->
    14           <menclose notation="radical left right">
    15             <mspace width="20px" height="20px"/>
    16           </menclose>
    17         </mstyle>
    18       </math>
    19     </div>
    21     <div style="position: absolute;
    22                 top: 5px; left: 5px; width: 100px; height: 100px;">
    23       <!-- hide the left part of the menclose. A 5px band is not covered, where
    24            the radical may be seen if it is wrongly placed on the left instead.
    25         -->
    26       <div style="position: absolute;
    27                   width: 35px; height: 100px; background: red;"></div>
    28       <!-- hide the middle part of the menclose -->
    29       <div style="position: absolute; left: 40px;
    30                   width: 20px; height: 100px; background: blue;"></div>
    31       <!-- hide the right part of the menclose -->
    32       <div style="position: absolute; left: 60px; width: 40px; height: 100px;
    33                   background: green;"></div>
    34     </div>
    36   </body>
    37 </html>

mercurial