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 | <style> |
michael@0 | 3 | ol, li { margin: 0; padding: 0; line-height: 150%; } |
michael@0 | 4 | #wrapper { width: 10em; } |
michael@0 | 5 | ol { padding: 0 3em; } |
michael@0 | 6 | .dec { list-style-type: decimal; } |
michael@0 | 7 | .heb { list-style-type: hebrew; } |
michael@0 | 8 | .cjk { list-style-type: cjk-decimal; } |
michael@0 | 9 | .kor { list-style-type: korean-hangul-formal; } |
michael@0 | 10 | .spec li::-moz-list-number { |
michael@0 | 11 | -moz-padding-end: 1em; |
michael@0 | 12 | } |
michael@0 | 13 | </style> |
michael@0 | 14 | <div id="wrapper"> |
michael@0 | 15 | <ol class="dec"><li>foo<li>bar</ol> |
michael@0 | 16 | <ol class="heb"><li>foo<li>bar</ol> |
michael@0 | 17 | <ol class="cjk"><li>foo<li>bar</ol> |
michael@0 | 18 | <ol class="kor"><li>foo<li>bar</ol> |
michael@0 | 19 | <ol class="dec spec"><li>foo<li>bar</ol> |
michael@0 | 20 | <ol class="heb spec"><li>foo<li>bar</ol> |
michael@0 | 21 | <ol class="cjk spec"><li>foo<li>bar</ol> |
michael@0 | 22 | <ol class="kor spec"><li>foo<li>bar</ol> |
michael@0 | 23 | <ol class="dec" dir="rtl"><li>foo<li>bar</ol> |
michael@0 | 24 | <ol class="heb" dir="rtl"><li>foo<li>bar</ol> |
michael@0 | 25 | <ol class="dec spec" dir="rtl"><li>foo<li>bar</ol> |
michael@0 | 26 | <ol class="heb spec" dir="rtl"><li>foo<li>bar</ol> |
michael@0 | 27 | </div> |