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 | <head> |
michael@0 | 3 | <style type="text/css" media="screen, print"> |
michael@0 | 4 | @font-face { |
michael@0 | 5 | font-family: "mathssty"; |
michael@0 | 6 | src: url("mathssty.woff"); |
michael@0 | 7 | } |
michael@0 | 8 | </style> |
michael@0 | 9 | </head> |
michael@0 | 10 | <body> |
michael@0 | 11 | |
michael@0 | 12 | <!-- Demonstrate that it has no effect outside MathML --> |
michael@0 | 13 | <div style="font-family: 'mathssty'; |
michael@0 | 14 | -moz-font-feature-settings: 'ssty' 1">A</div> |
michael@0 | 15 | <div style="font-family: 'mathssty'; |
michael@0 | 16 | -moz-font-feature-settings: 'ssty' 2">A</div> |
michael@0 | 17 | |
michael@0 | 18 | <!-- Demonstrate that it works within MathML --> |
michael@0 | 19 | <math> |
michael@0 | 20 | <mstyle style="font-family: 'mathssty';"> |
michael@0 | 21 | <mrow> |
michael@0 | 22 | <mo style="-moz-font-feature-settings: 'ssty' 0">A</mo> |
michael@0 | 23 | <mo style="-moz-font-feature-settings: 'ssty' 1">A</mo> |
michael@0 | 24 | <mo style="-moz-font-feature-settings: 'ssty' 2">A</mo> |
michael@0 | 25 | </mrow> |
michael@0 | 26 | </mstyle> |
michael@0 | 27 | </math> |
michael@0 | 28 | <p> |
michael@0 | 29 | <!-- verify it works for the other elements except mtext --> |
michael@0 | 30 | <math> |
michael@0 | 31 | <mstyle style="font-family: 'mathssty'; -moz-font-feature-settings: 'ssty' 2"> |
michael@0 | 32 | <mi mathvariant="normal">A</mi> |
michael@0 | 33 | <mn>A</mn> |
michael@0 | 34 | <mtext>A</mtext> |
michael@0 | 35 | </mstyle> |
michael@0 | 36 | </math> |
michael@0 | 37 | </body> |