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>min-/max-height testcase for bug 308801</title> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | |
michael@0 | 6 | html,body { |
michael@0 | 7 | color:black; background-color:white; font-size:16px; padding:0; margin:0; |
michael@0 | 8 | } |
michael@0 | 9 | |
michael@0 | 10 | .test1 { |
michael@0 | 11 | height:35px; |
michael@0 | 12 | border:1px solid black; |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | .test2 { |
michael@0 | 16 | height:37px; |
michael@0 | 17 | background:black; |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | .test3 { |
michael@0 | 21 | height:21px; |
michael@0 | 22 | border:8px solid black; |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | p { height:43px; margin:0; padding:0; } |
michael@0 | 26 | </style> |
michael@0 | 27 | </head> |
michael@0 | 28 | <body> |
michael@0 | 29 | |
michael@0 | 30 | <div class="box min test1"></div> |
michael@0 | 31 | |
michael@0 | 32 | <br><div class="box min test2"></div> |
michael@0 | 33 | |
michael@0 | 34 | <br><div class="box min test3"></div> |
michael@0 | 35 | |
michael@0 | 36 | <br><div class="box max test1"><p></div> |
michael@0 | 37 | |
michael@0 | 38 | <br><div class="box max test2"><p></div> |
michael@0 | 39 | |
michael@0 | 40 | <br><div class="box max test3"><p></div> |
michael@0 | 41 | |
michael@0 | 42 | <br><!-- overflow:hidden --> |
michael@0 | 43 | |
michael@0 | 44 | <div class="hidden box min test1"></div> |
michael@0 | 45 | |
michael@0 | 46 | <br><div class="hidden box min test2"></div> |
michael@0 | 47 | |
michael@0 | 48 | <br><div class="hidden box min test3"></div> |
michael@0 | 49 | |
michael@0 | 50 | <br><div class="hidden box max test1"><p></div> |
michael@0 | 51 | |
michael@0 | 52 | <br><div class="hidden box max test2"><p></div> |
michael@0 | 53 | |
michael@0 | 54 | <br><div class="hidden box max test3"><p></div> |
michael@0 | 55 | |
michael@0 | 56 | </body> |
michael@0 | 57 | </html> |