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>CSS 2.1 Test Suite: Test for intrinsic widths and text-indent</title> |
michael@0 | 5 | <link rel="author" title="L. David Baron" href="http://dbaron.org/" /> |
michael@0 | 6 | <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
michael@0 | 7 | <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#indentation-prop" /> |
michael@0 | 8 | <meta name="flags" content="" /> |
michael@0 | 9 | <style type="text/css"> |
michael@0 | 10 | |
michael@0 | 11 | body { font-size: 12px; } |
michael@0 | 12 | |
michael@0 | 13 | body > div, body > pre { |
michael@0 | 14 | float: left; clear: left; margin: 1px; height: 2em; |
michael@0 | 15 | border: medium solid; |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | span { |
michael@0 | 19 | display: inline-block; |
michael@0 | 20 | height: 1em; |
michael@0 | 21 | width: 1em; |
michael@0 | 22 | } |
michael@0 | 23 | |
michael@0 | 24 | </style> |
michael@0 | 25 | </head> |
michael@0 | 26 | <body> |
michael@0 | 27 | |
michael@0 | 28 | <!-- test against inline margin --> |
michael@0 | 29 | <div style="text-indent: 3em;">X</div> |
michael@0 | 30 | |
michael@0 | 31 | <!-- test against block padding --> |
michael@0 | 32 | <div style="text-indent: 3em;">X</div> |
michael@0 | 33 | |
michael@0 | 34 | <!-- test against block width --> |
michael@0 | 35 | <div style="text-indent: 3em;"><span></span></div> |
michael@0 | 36 | |
michael@0 | 37 | <div style="text-indent: 3em"><span style="width: 1em"></span></div> |
michael@0 | 38 | <div style="text-indent: 3em"><span style="width: 1em"></span>​<span style="width: 2em"></span></div> |
michael@0 | 39 | <div style="text-indent: 3em"><span style="width: 1em"></span>​<span style="width: 6em"></span></div> |
michael@0 | 40 | <div style="text-indent: 3em"><span style="width: 1em"></span><br><span style="width: 2em"></span></div> |
michael@0 | 41 | <div style="text-indent: 3em"><span style="width: 1em"></span><br><span style="width: 6em"></span></div> |
michael@0 | 42 | <pre style="text-indent: 3em"><span style="width: 1em"></span> |
michael@0 | 43 | <span style="width: 2em"></span></pre> |
michael@0 | 44 | <pre style="text-indent: 3em"><span style="width: 1em"></span> |
michael@0 | 45 | <span style="width: 6em"></span></pre> |
michael@0 | 46 | |
michael@0 | 47 | </body> |
michael@0 | 48 | </html> |