summaryrefslogtreecommitdiff
path: root/layout/reftests/font-features/caps-fallback-smcp.html
blob: ee29a4a8130c70a5c06d0777729625120d957a41 (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
<!DOCTYPE HTML>
<html>
<head>
<title>font-variant-caps fallback</title>
<meta charset="UTF-8">
<style>

/* Fira Sans only supports smcp/c2sc, not pcap/c2pc */
@font-face {
  font-family: firasans;
  src: url(../fonts/fira/FiraSans-Regular.otf);
}

body {
  margin: 20px;
  font-family: firasans, sans-serif;
}

p {
  margin: 0;
  font-size: 50px;
}

.smcp { font-feature-settings: "smcp" on; }
</style>
</head>
<body>
<p class=smcp>Aa Bb Gg Δδ Γγ Σσ Бб Фф</p>
</body>
</html>