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 html {
2 font-size: 16px;
3 }
5 * {
6 margin: 0;
7 padding: 0;
8 }
10 @font-face {
11 font-family: "AhemTest";
12 src: url(../../../../tests/fonts/Ahem.ttf);
13 }
15 @font-face {
16 font-family: "mplusTest";
17 src: url(../../../../tests/fonts/mplus/mplus-1p-regular.ttf);
18 }
20 /* For aligning the two spacers (see below) to the left most and the right most,
21 the div must create a new blocking format context. */
22 div#target {
23 position: absolute;
24 }
26 span#decoration {
27 margin-left: 0.333em;
28 }
30 body.reference div span#decoration {
31 text-decoration: underline;
32 }
34 /* both ends of selection underlines for IME are clipped for making the
35 boundaries of clauses in composition string clear. These spacers will
36 cover the ends in the reference. */
37 span#leftspacer, span#rightspacer {
38 background-color: white;
39 position: absolute;
40 width: 1px;
41 height: 100%;
42 overflow: hidden;
43 }
45 span#leftspacer {
46 left: 0.333em;
47 }
49 span#rightspacer {
50 right: 0;
51 }