Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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 }