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> |
michael@0 | 4 | <title>Rounded rectangle clipping test</title> |
michael@0 | 5 | <style> |
michael@0 | 6 | .clipround { |
michael@0 | 7 | left:100px; |
michael@0 | 8 | top:100px; |
michael@0 | 9 | position:absolute; |
michael@0 | 10 | width:700px; |
michael@0 | 11 | height:380px; |
michael@0 | 12 | overflow:hidden; |
michael@0 | 13 | border-radius:45px; |
michael@0 | 14 | } |
michael@0 | 15 | .greendiv { |
michael@0 | 16 | width:300px; |
michael@0 | 17 | height:230px; |
michael@0 | 18 | background-color:#00ff00; |
michael@0 | 19 | position:absolute; |
michael@0 | 20 | } |
michael@0 | 21 | #nrcDiv0 { |
michael@0 | 22 | left:0px; |
michael@0 | 23 | top:0px; |
michael@0 | 24 | } |
michael@0 | 25 | #nrcDiv1 { |
michael@0 | 26 | left:320px; |
michael@0 | 27 | top:0px; |
michael@0 | 28 | } |
michael@0 | 29 | #nrcDiv2 { |
michael@0 | 30 | left:0px; |
michael@0 | 31 | top:240px; |
michael@0 | 32 | } |
michael@0 | 33 | </style> |
michael@0 | 34 | </head> |
michael@0 | 35 | |
michael@0 | 36 | <body> |
michael@0 | 37 | <div class="clipround"> |
michael@0 | 38 | <div id="nrcDiv0" class="greendiv"></div> |
michael@0 | 39 | </div> |
michael@0 | 40 | <div class="clipround"> |
michael@0 | 41 | <div id="nrcDiv1" class="greendiv"></div> |
michael@0 | 42 | </div> |
michael@0 | 43 | <div class="clipround"> |
michael@0 | 44 | <div id="nrcDiv2" class="greendiv"></div> |
michael@0 | 45 | </div> |
michael@0 | 46 | </body> |
michael@0 | 47 | </html> |