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 | <?xml version="1.0"?> |
michael@0 | 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | <![CDATA[ |
michael@0 | 6 | @namespace pp url("prettyprint"); |
michael@0 | 7 | pp|expander-box, |
michael@0 | 8 | pp|pre-content { |
michael@0 | 9 | display: block; |
michael@0 | 10 | } |
michael@0 | 11 | |
michael@0 | 12 | pp|expander-box[collapsed] > pp|float, |
michael@0 | 13 | pp|expander-box[collapsed] > pp|pre-content { |
michael@0 | 14 | display: inline; |
michael@0 | 15 | float: none; |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | pp|float { |
michael@0 | 19 | float: left; |
michael@0 | 20 | } |
michael@0 | 21 | ]]></style> |
michael@0 | 22 | </head> |
michael@0 | 23 | |
michael@0 | 24 | <body> |
michael@0 | 25 | <div> |
michael@0 | 26 | <pp:content xmlns:pp="prettyprint"> |
michael@0 | 27 | <pp:expander-box collapsed="collapsed"><pp:float>-</pp:float> |
michael@0 | 28 | <pp:pre-content>pre</pp:pre-content> |
michael@0 | 29 | </pp:expander-box> |
michael@0 | 30 | </pp:content> |
michael@0 | 31 | </div> |
michael@0 | 32 | </body> |
michael@0 | 33 | </html> |