summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml
blob: a3dcdba69c742fd452985c09f18596b8f36bb646 (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
61
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>CSS 2.1: Font matching algorithm</title>
		<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
		<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
		<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#algorithm" />
		<meta name="assert" content="That the 'UA-dependent default 'font-family'' described in step (5) does not vary based on the ancestor's font-family property." />
	</head>
	<body>

<div style="font-family: Arial, Helvetica, sans-serif">
  <div style="font-family: FontDoesNotExist">
    Every line of text in this page should be in the same font.
  </div>
</div>

<div style="font-family: Arial, Helvetica">
  <div style="font-family: FontDoesNotExist">
    Every line of text in this page should be in the same font.
  </div>
</div>

<div style="font-family: Arial">
  <div style="font-family: FontDoesNotExist">
    Every line of text in this page should be in the same font.
  </div>
</div>

<div style="font-family: Times New Roman, Times, serif">
  <div style="font-family: FontDoesNotExist">
    Every line of text in this page should be in the same font.
  </div>
</div>

<div style="font-family: Times New Roman, Times">
  <div style="font-family: FontDoesNotExist">
    Every line of text in this page should be in the same font.
  </div>
</div>

<div style="font-family: Times New Roman">
  <div style="font-family: FontDoesNotExist">
    Every line of text in this page should be in the same font.
  </div>
</div>

<div style="font-family: Courier New, Courier, monospace">
  <div style="font-family: FontDoesNotExist">
    Every line of text in this page should be in the same font.
  </div>
</div>

<div style="font-family: Verdana">
  <div style="font-family: FontDoesNotExist">
    Every line of text in this page should be in the same font.
  </div>
</div>

	</body>
</html>