blob: 857cff179f7d2ae6c4916e546a12eeded823ce36 (
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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Font-weight comparison of 100 to 900</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-boldness" />
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-weight-prop" />
<meta name="assert" content="Font weight value 100 to 900 indicate a weight that is either darker than OR as dark as its predecessor." />
<style type="text/css">
#test1
{
font-weight: 100;
}
#test2
{
font-weight: 200;
}
#test3
{
font-weight: 300;
}
#test4
{
font-weight: 400;
}
#test5
{
font-weight: 500;
}
#test6
{
font-weight: 600;
}
#test7
{
font-weight: 700;
}
#test8
{
font-weight: 800;
}
#test9
{
font-weight: 900;
}
</style>
</head>
<body>
<p>Test passes if the darkness of the below lines are from light to dark. Each line needs to be either darker than or as dark as its previous line.</p>
<div id="test1">Filler Text</div>
<div id="test2">Filler Text</div>
<div id="test3">Filler Text</div>
<div id="test4">Filler Text</div>
<div id="test5">Filler Text</div>
<div id="test6">Filler Text</div>
<div id="test7">Filler Text</div>
<div id="test8">Filler Text</div>
<div id="test9">Filler Text</div>
</body>
</html>
|