summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/received/css-multicol-1/reference/multicol-basic-ref.html
blob: c5bf98f09fd88cfe3b6eaef1f975d9960a01eadd (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
75
76
77
<!DOCTYPE html>
<html>
<!-- Submitted from TestTWF Paris -->
<head>
	<title>CSS Test reference</title>
	<link rel="author" title="Anselm Hannemann" href="mailto:info@anselm-hannemann.com"/>
	<link rel="reviewer" title="Elika J Etemad" href="http://fantasai.inkedblade.net/contact">
	<meta name="flags" content="ahem"/>

<style type="text/css">
@font-face {
  font-family: Ahem;
  src: url("../../../../fonts/Ahem.ttf");
}
</style>
	<style type="text/css">
		.multicol-wrapper>*{
			font-family: Ahem;
		}

		div.multicol-wrapper{
			border: thin solid black;
			display: inline-block;
			margin: 1em auto;
			width: 360px;
		}

		.multicol-basic-ref{
			background: yellow;
			width: 360px;
			border-spacing: 0;
			border-collapse: collapse;
			padding: 0;
		}

		.multicol-basic-ref td{
			padding: 0;
		}
		.multicol-basic-ref-item{
			padding: 0;
			width: 120px;
			background: #000;
			border-spacing: 0;
			border-collapse: collapse;
			display: inline;
			border: none;
		}

		.item-1{
			background: purple;
			color: purple;
		}

		.item-2{
			background: orange;
			color: orange;
		}

		.item-3{
			background: blue;
			color: blue;
		}
	</style>
</head>
<body>
<p>Test passes if there are three vertical stripes in the yellow box below: 1st purple, 2nd orange, 3rd blue.</p>
<div class="multicol-wrapper">
	<table class="multicol-basic-ref">
		<tr>
			<td><div class="multicol-basic-ref-item item-1">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</div></td>
			<td><div class="multicol-basic-ref-item item-2">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</div></td>
			<td><div class="multicol-basic-ref-item item-3">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</div></td>
		</tr>
	</table>
</div>
</body>
</html>