summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-width-ch-ref.xht
blob: 75002b419d206f6d5d5bc710d8640e3baf1bfc58 (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
<!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>multicolumn | column-width</title>
<link rel="author" title="Opera Software ASA" href="http://www.opera.com/"/>
<style type="text/css"><![CDATA[
.multicol-ref {
  display: flow-root;
  width: 69ch;
  font: 3em monospace;
  background: yellow;
}
.multicol-ref > span {
  float: left;
  width: 13ch;
  margin-right: 1ch;
}
.multicol-ref > span:last-child {
  margin: 0;
}
]]></style>
</head>

<body>
  <p>Test passes if we have five columns with four lines in each. The final column should contain the words: million, billion, trillion.</p>
  <div class="multicol-ref">
    <span>
      one two three four
      five six seven eight
    </span>
    <span>
      nineten eleven twelve
      thirtn
    </span>
    <span>
      fourtnfiftn sixtn
      seventn eightn ninetn
    </span>
    <span>
      twenty
      hundred thousand
    </span>
    <span>
      million billion
      trillion
    </span>
  </div>
</body>
</html>