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><head> |
michael@0 | 3 | <title>Testcase for bug 403328</title> |
michael@0 | 4 | <style> |
michael@0 | 5 | body { |
michael@0 | 6 | margin-left:40px; |
michael@0 | 7 | } |
michael@0 | 8 | div.cb { |
michael@0 | 9 | background-color: lime; |
michael@0 | 10 | width: 80px; |
michael@0 | 11 | } |
michael@0 | 12 | div.spcb { |
michael@0 | 13 | background-color: blue; |
michael@0 | 14 | margin-left:auto; |
michael@0 | 15 | margin-right:auto; |
michael@0 | 16 | width: 40px; |
michael@0 | 17 | } |
michael@0 | 18 | div.abs { |
michael@0 | 19 | background-color: red; |
michael@0 | 20 | height: 40px; |
michael@0 | 21 | } |
michael@0 | 22 | div.extrawide { |
michael@0 | 23 | width: 100px; |
michael@0 | 24 | } |
michael@0 | 25 | div.narrow { |
michael@0 | 26 | width: 20px; |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | </style> |
michael@0 | 30 | </head><body> |
michael@0 | 31 | |
michael@0 | 32 | <div class="cb"> |
michael@0 | 33 | <div class="spcb"> |
michael@0 | 34 | <div class="abs narrow" style="margin-left:auto;"></div> |
michael@0 | 35 | <div class="abs narrow"></div> |
michael@0 | 36 | <div class="abs extrawide" style="margin-left:-20px;"></div> |
michael@0 | 37 | <div class="abs extrawide" style="margin-left:-40px;"></div> |
michael@0 | 38 | <div class="abs narrow" style="margin-left:-20px;"></div> |
michael@0 | 39 | <div class="abs narrow" style="margin-left:auto; margin-right:-20px;"></div> |
michael@0 | 40 | <div class="abs narrow" style="margin-left:auto;"></div> |
michael@0 | 41 | <div class="abs narrow"></div> |
michael@0 | 42 | </div> |
michael@0 | 43 | </div> |
michael@0 | 44 | |
michael@0 | 45 | </body></html> |