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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
<!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: Invalid characters in font-family values</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="author" title="Arron Eicholz" href="http://www.microsoft.com/" />
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact" />
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors"/>
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/>
<link rel="match" href="font-family-invalid-characters-001-ref.html" />
<meta name="flags" content="ahem invalid" />
<meta name="assert" content="Invalid characters in font family names invalidate entire declaration."/>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
<![CDATA[
#div1
{
font-family: test!foo, Ahem;
}
#div2
{
font-family: test@foo, Ahem;
}
#div3
{
font-family: test#foo, Ahem;
}
#div4
{
font-family: test$foo, Ahem;
}
#div5
{
font-family: test%foo, Ahem;
}
#div6
{
font-family: test^foo, Ahem;
}
#div7
{
font-family: test&foo, Ahem;
}
#div8
{
font-family: test*foo, Ahem;
}
#div9
{
font-family: test=foo, Ahem;
}
#div10
{
font-family: test+foo, Ahem;
}
#div11
{
font-family: test|foo, Ahem;
}
#div12
{
font-family: test;foo, Ahem;
}
#div13
{
font-family: test:foo, Ahem;
}
#div14
{
font-family: test.foo, Ahem;
}
#div15
{
font-family: test/foo, Ahem;
}
#div16
{
font-family: test?foo, Ahem;
}
#div17
{
font-family: test`foo, Ahem;
}
#div18
{
font-family: test~foo, Ahem;
}
#div19
{
font-family: 1996, Ahem;
}
]]>
</style>
</head>
<body>
<p>Test passes if there are only numbers (1-19) below.</p>
<div id="div1">1</div>
<div id="div2">2</div>
<div id="div3">3</div>
<div id="div4">4</div>
<div id="div5">5</div>
<div id="div6">6</div>
<div id="div7">7</div>
<div id="div8">8</div>
<div id="div9">9</div>
<div id="div10">10</div>
<div id="div11">11</div>
<div id="div12">12</div>
<div id="div13">13</div>
<div id="div14">14</div>
<div id="div15">15</div>
<div id="div16">16</div>
<div id="div17">17</div>
<div id="div18">18</div>
<div id="div19">19</div>
</body>
</html>
|