summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-features/annotations-ref.html
blob: a21ea28fc57d4a010342379b3c4ca5f60f837392 (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
<!DOCTYPE HTML>
<html>
<head>
<title>Annotations test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<style type="text/css">

body {
  margin: 20px;
  font-size: 800%;
  font-family: Hiragino Maru Gothic ProN, Meiryo;
}

/* for platforms without these fonts the default glyphs will show */

@font-face {
  font-family: testMeiryo-circled;
  src: local(Meiryo);
  font-feature-settings: "nalt" 4;
}

@font-face {
  font-family: testMeiryo-black-circled;
  src: local(Meiryo);
  font-feature-settings: "nalt" 5;
}

@font-face {
  font-family: testMeiryo-rounded-box;
  src: local(Meiryo);
  font-feature-settings: "nalt" 9;
}

@font-face {
  font-family: testHiraginoMaru-circled;
  src: local(HiraMaruProN-W4), local(Hiragino Maru Gothic ProN W4);
  font-feature-settings: "nalt" 1;
}

@font-face {
  font-family: testHiraginoMaru-black-circled;
  src: local(HiraMaruProN-W4), local(Hiragino Maru Gothic ProN W4);
  font-feature-settings: "nalt" 4;
}

@font-face {
  font-family: testHiraginoMaru-rounded-box;
  src: local(HiraMaruProN-W4), local(Hiragino Maru Gothic ProN W4);
  font-feature-settings: "nalt" 10;
}

#test1 {
  font-family: testHiraginoMaru-circled, testMeiryo-circled;
}

#test2 {
  font-family: testHiraginoMaru-black-circled, testMeiryo-black-circled;
}

#test3 {
  font-family: testHiraginoMaru-rounded-box, testMeiryo-rounded-box;
}

</style>

</head>
<body>
<div><span id="test1">1</span> <span id="test2">2</span> <span id="test3">3</span></div>
</body>
</html>