Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>Mapping 400 to medium</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <style type="text/css">
9 body {
10 margin: 50px;
11 }
13 @font-face {
14 font-family: mplus1p;
15 src: url(../fonts/mplus/mplus-1p-light.ttf);
16 font-weight: 200;
17 }
19 @font-face {
20 font-family: mplus1p;
21 src: url(../fonts/mplus/mplus-1p-medium.ttf);
22 font-weight: 500;
23 }
25 p { font-size: 24pt; }
26 #test1 { font-family: mplus1p; font-weight: normal; }
27 #test2 { font-family: mplus1p; font-weight: 500; }
29 </style>
31 <script type="text/javascript">
33 </script>
35 </head>
36 <body>
38 <h4>The two lines below should match</h4>
40 <p id="test1">Fiddling fiddlesticks!</p>
41 <p id="test2">Fiddling fiddlesticks!</p>
43 </body>
44 </html>