summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/font-face-character-fallback.html
blob: 351030660bca458afe13913a8790940498d9374a (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
<html>
<head>
<style>
@font-face {
  font-family: 'test';
  font-weight: 400;
  unicode-range: U+0020, U+0041-005A;  /* space, A-Z */
  src: local('Helvetica'), local('Arial');
}
@font-face {
  font-family: 'test';
  font-weight: 700;
  unicode-range: U+0061-007A;  /* a-z */
  src: local('Times'), local('Times New Roman');
}
span {
  font-family: 'test', 'Courier', 'Courier New';
  font-size: 30px;
}
</style>
</head>
<body>
<p>
  You should see each font name in that font:
</p>
<span>HELVETICA</span>
<span>courier</span>
<span><b>COURIER</b></span>
<span><b>times</b></span>
</body>
</html>