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