summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-matching/normalmedium-ref.html
blob: b8b8df4ce227770f441ea2a51b80d95c7673d517 (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
<!DOCTYPE HTML>
<html>
<head>
<title>Mapping 400 to medium</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  
<style type="text/css">

body {
  margin: 50px;
}

@font-face {
  font-family: mplus1p;
  src: url(../fonts/mplus/mplus-1p-light.ttf);
  font-weight: 200;
}

@font-face {
  font-family: mplus1p;
  src: url(../fonts/mplus/mplus-1p-medium.ttf);
  font-weight: 500;
}

p { font-size: 24pt; font-family: mplus1p; font-weight: normal; }

</style>
  
<script type="text/javascript">

</script>
  
</head>
<body>

<h4>The two lines below should match</h4>

<p id="test1">Fiddling fiddlesticks!</p>
<p id="test2">Fiddling fiddlesticks!</p>

</body>
</html>