summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-features/spacelookups-wordcache-ref.html
blob: cd6af0cf43546e1eb793178545eab5ac87a53e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<title>contextual substitutions for fonts with spaces in lookups</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="author" title="John Daggett" href="mailto:jdaggett@mozilla.com"/>
<style type="text/css">

@font-face {
  font-family: spacelookup-defscr-deflang-deffeat;
  src: url(../fonts/spacelookups/spacelookup-defscr-deflang-deffeat.ttf);
}

@font-face {
  font-family: spacelookup-defscr-deflang-ndeffeat;
  src: url(../fonts/spacelookups/spacelookup-defscr-deflang-ndeffeat.ttf);
}

@font-face {
  font-family: spacelookup-latnscr-deflang-deffeat;
  src: url(../fonts/spacelookups/spacelookup-latnscr-deflang-deffeat.ttf);
}

@font-face {
  font-family: spacelookup-latnscr-deflang-ndeffeat;
  src: url(../fonts/spacelookups/spacelookup-latnscr-deflang-ndeffeat.ttf);
}

@font-face {
  font-family: spacelookup-latnscr-fralang-deffeat;
  src: url(../fonts/spacelookups/spacelookup-latnscr-fralang-deffeat.ttf);
}

@font-face {
  font-family: spacelookup-latnscr-fralang-ndeffeat;
  src: url(../fonts/spacelookups/spacelookup-latnscr-fralang-ndeffeat.ttf);
}

body {
  margin: 20px 40px;
  line-height: 1.2;
}

div { font-size: 200%; }

p { margin: 0; line-height: 1.2; }

.spacelookup-defscr-deflang-deffeat { font-family: spacelookup-defscr-deflang-deffeat; }
.spacelookup-defscr-deflang-ndeffeat { font-family: spacelookup-defscr-deflang-ndeffeat; }
.spacelookup-latnscr-deflang-deffeat { font-family: spacelookup-latnscr-deflang-deffeat; }
.spacelookup-latnscr-deflang-ndeffeat { font-family: spacelookup-latnscr-deflang-ndeffeat; }
.spacelookup-latnscr-fralang-deffeat { font-family: spacelookup-latnscr-fralang-deffeat; }
.spacelookup-latnscr-fralang-ndeffeat { font-family: spacelookup-latnscr-fralang-ndeffeat; }

p.kern {
  -webkit-font-feature-settings: "liga" on, "kern" on;
  font-feature-settings: "liga" on, "kern" on;
}

p.nokern {
  -webkit-font-feature-settings: "liga" on, "kern" off;
  font-feature-settings: "liga" on, "kern" off;
}

</style>

</head>
<body>
<div class="spacelookup-defscr-deflang-deffeat" lang="en">
<p class="spacelookup-defscr-deflang-deffeat kern">&#xf002; &#xf001; &#xf004; &#xf003; &#xf006; &#xf005;</p>
<p class="spacelookup-latnscr-deflang-deffeat kern">&#xf002; &#xf001; &#xf004; &#xf003; &#xf006; &#xf005;</p>
<p class="spacelookup-latnscr-fralang-deffeat kern">&#xf002; &#xf001; &#xf004; &#xf003; &#xf006; &#xf005;</p>
<p class="spacelookup-defscr-deflang-ndeffeat nokern">&#xf002; &#xf001; &#xf004; &#xf003; &#xf006; &#xf005;</p>
<p class="spacelookup-latnscr-deflang-ndeffeat nokern">&#xf002; &#xf001; &#xf004; &#xf003; &#xf006; &#xf005;</p>
<p class="spacelookup-latnscr-fralang-ndeffeat nokern">&#xf002; &#xf001; &#xf004; &#xf003; &#xf006; &#xf005;</p>
<p class="spacelookup-defscr-deflang-ndeffeat kern">&#xf002; &#xf001; &#xf004; &#xf003; &#xf006; &#xf005;</p>
<p class="spacelookup-latnscr-deflang-ndeffeat kern">&#xf002; &#xf001; &#xf004; &#xf003; &#xf006; &#xf005;</p>
<p class="spacelookup-latnscr-fralang-ndeffeat kern">&#xf002; &#xf001; &#xf004; &#xf003; &#xf006; &#xf005;</p>
</div>
</body>
</html>