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>contextual substitutions for fonts with spaces in lookups</title> |
michael@0 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
michael@0 | 6 | <link rel="author" title="John Daggett" href="mailto:jdaggett@mozilla.com"/> |
michael@0 | 7 | <meta name="bug" content="https://bugzilla.mozilla.org/show_bug.cgi?id=921858"/> |
michael@0 | 8 | <style type="text/css"> |
michael@0 | 9 | |
michael@0 | 10 | @font-face { |
michael@0 | 11 | font-family: spacelookup-defscr-deflang-deffeat; |
michael@0 | 12 | src: url(../fonts/spacelookups/spacelookup-defscr-deflang-deffeat.ttf); |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | @font-face { |
michael@0 | 16 | font-family: spacelookup-defscr-deflang-ndeffeat; |
michael@0 | 17 | src: url(../fonts/spacelookups/spacelookup-defscr-deflang-ndeffeat.ttf); |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | @font-face { |
michael@0 | 21 | font-family: spacelookup-latnscr-deflang-deffeat; |
michael@0 | 22 | src: url(../fonts/spacelookups/spacelookup-latnscr-deflang-deffeat.ttf); |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | @font-face { |
michael@0 | 26 | font-family: spacelookup-latnscr-deflang-ndeffeat; |
michael@0 | 27 | src: url(../fonts/spacelookups/spacelookup-latnscr-deflang-ndeffeat.ttf); |
michael@0 | 28 | } |
michael@0 | 29 | |
michael@0 | 30 | @font-face { |
michael@0 | 31 | font-family: spacelookup-latnscr-fralang-deffeat; |
michael@0 | 32 | src: url(../fonts/spacelookups/spacelookup-latnscr-fralang-deffeat.ttf); |
michael@0 | 33 | } |
michael@0 | 34 | |
michael@0 | 35 | @font-face { |
michael@0 | 36 | font-family: spacelookup-latnscr-fralang-ndeffeat; |
michael@0 | 37 | src: url(../fonts/spacelookups/spacelookup-latnscr-fralang-ndeffeat.ttf); |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | body { |
michael@0 | 41 | margin: 20px 40px; |
michael@0 | 42 | line-height: 1.2; |
michael@0 | 43 | } |
michael@0 | 44 | |
michael@0 | 45 | div { font-size: 200%; } |
michael@0 | 46 | |
michael@0 | 47 | p { margin: 0; line-height: 1.2; } |
michael@0 | 48 | |
michael@0 | 49 | .spacelookup-defscr-deflang-deffeat { font-family: spacelookup-defscr-deflang-deffeat; } |
michael@0 | 50 | .spacelookup-defscr-deflang-ndeffeat { font-family: spacelookup-defscr-deflang-ndeffeat; } |
michael@0 | 51 | .spacelookup-latnscr-deflang-deffeat { font-family: spacelookup-latnscr-deflang-deffeat; } |
michael@0 | 52 | .spacelookup-latnscr-deflang-ndeffeat { font-family: spacelookup-latnscr-deflang-ndeffeat; } |
michael@0 | 53 | .spacelookup-latnscr-fralang-deffeat { font-family: spacelookup-latnscr-fralang-deffeat; } |
michael@0 | 54 | .spacelookup-latnscr-fralang-ndeffeat { font-family: spacelookup-latnscr-fralang-ndeffeat; } |
michael@0 | 55 | |
michael@0 | 56 | .dlig { |
michael@0 | 57 | -webkit-font-feature-settings: "dlig" on; |
michael@0 | 58 | -moz-font-feature-settings: "dlig" on; |
michael@0 | 59 | font-feature-settings: "dlig" on; |
michael@0 | 60 | } |
michael@0 | 61 | </style> |
michael@0 | 62 | |
michael@0 | 63 | </head> |
michael@0 | 64 | <body> |
michael@0 | 65 | <div class="spacelookup-defscr-deflang-deffeat" lang="en"> |
michael@0 | 66 | <p class="spacelookup-defscr-deflang-deffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> |
michael@0 | 67 | <p class="spacelookup-latnscr-deflang-deffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> |
michael@0 | 68 | <p class="spacelookup-latnscr-fralang-deffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> |
michael@0 | 69 | <p class="spacelookup-defscr-deflang-ndeffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> |
michael@0 | 70 | <p class="spacelookup-latnscr-deflang-ndeffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> |
michael@0 | 71 | <p class="spacelookup-latnscr-fralang-ndeffeat">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> |
michael@0 | 72 | <p class="spacelookup-defscr-deflang-ndeffeat dlig">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> |
michael@0 | 73 | <p class="spacelookup-latnscr-deflang-ndeffeat dlig">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> |
michael@0 | 74 | <p class="spacelookup-latnscr-fralang-ndeffeat dlig">latn-script default-script fra-lang default-lang non-default-feature default-feature</p> |
michael@0 | 75 | </div> |
michael@0 | 76 | </body> |
michael@0 | 77 | </html> |