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>background-position: right 25% bottom 75%</title> |
michael@0 | 5 | <style type="text/css"> |
michael@0 | 6 | #outer |
michael@0 | 7 | { |
michael@0 | 8 | border: 1px solid black; |
michael@0 | 9 | width: 128px; |
michael@0 | 10 | height: 128px; |
michael@0 | 11 | } |
michael@0 | 12 | #inner1 |
michael@0 | 13 | { |
michael@0 | 14 | width: 128px; |
michael@0 | 15 | height: 128px; |
michael@0 | 16 | background-position: right 25% bottom 75%; |
michael@0 | 17 | background-image: url(aqua-32x32.png); |
michael@0 | 18 | background-repeat: no-repeat; |
michael@0 | 19 | } |
michael@0 | 20 | #inner2 |
michael@0 | 21 | { |
michael@0 | 22 | width: 128px; |
michael@0 | 23 | height: 128px; |
michael@0 | 24 | background-position: bottom 75% right 25%; |
michael@0 | 25 | background-image: url(aqua-32x32.png); |
michael@0 | 26 | background-repeat: no-repeat; |
michael@0 | 27 | } |
michael@0 | 28 | #inner3 |
michael@0 | 29 | { |
michael@0 | 30 | width: 128px; |
michael@0 | 31 | height: 128px; |
michael@0 | 32 | background-position: right 24px bottom 72px; |
michael@0 | 33 | background-image: url(aqua-32x32.png); |
michael@0 | 34 | background-repeat: no-repeat; |
michael@0 | 35 | } |
michael@0 | 36 | #inner4 |
michael@0 | 37 | { |
michael@0 | 38 | width: 128px; |
michael@0 | 39 | height: 128px; |
michael@0 | 40 | background-position: bottom 72px right 24px; |
michael@0 | 41 | background-image: url(aqua-32x32.png); |
michael@0 | 42 | background-repeat: no-repeat; |
michael@0 | 43 | } |
michael@0 | 44 | </style> |
michael@0 | 45 | </head> |
michael@0 | 46 | <body> |
michael@0 | 47 | <div id="outer"><div id="inner1"></div></div> |
michael@0 | 48 | <div id="outer"><div id="inner2"></div></div> |
michael@0 | 49 | <div id="outer"><div id="inner3"></div></div> |
michael@0 | 50 | <div id="outer"><div id="inner4"></div></div> |
michael@0 | 51 | </body> |
michael@0 | 52 | </html> |