summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/lists/list-style-020-ref.xht
blob: 2938e3ac5442d69bbecef1d6c7689a1e4412547d (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
62
63
64
65
66
67
68
69
70
71
72
73
74
<!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 Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/>
<style type="text/css">
/* For better readability */
.li {
  font-size: 1.5em;
  color: blue;
}
span {
  color: black;
  font-size: 0.67em;
  vertical-align: middle;
  padding-left: 0.2em;
}

.li {
  display: list-item;
  margin: 0.2em 0 0.2em 4em;
  border-left: solid thin orange;
}

.one {
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
}
.two {
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
}
.three {
  list-style-type: square;
  list-style-image: none;
  list-style-position: outside;
}
.four {
  list-style-type: square;
  list-style-image: none;
  list-style-position: outside;
}
.five {
  list-style-type: none;
  list-style-image: url(support/diamond.png);
  list-style-position: outside;
}
.six {
  list-style-type: none;
  list-style-image: url(support/diamond.png);
  list-style-position: outside;
}
.seven {
  list-style-type: disc;
  list-style-image: none;
  list-style-position: outside;
}
</style>
</head>
<body>
<p>Test passes if each word on the right of the orange line
describes the shape on the left.</p>

<div class="li one"><span>(nothing)</span></div>
<div class="li two"><span>(nothing)</span></div>
<div class="li three"><span>blue square</span></div>
<div class="li four"><span>blue square</span></div>
<div class="li five"><span>purple diamond</span></div>
<div class="li six"><span>purple diamond</span></div>
<div class="li seven"><span>blue circle</span></div>
</body>
</html>