blob: 28f8243ec4bdd18da36638e018d759d9ffd6cfea (
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
|
<!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>multicol | break-inside: avoid-column</title>
<link rel="author" title="Opera Software ASA" href="http://www.opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-breaks"/>
<link rel="match" href="multicol-br-inside-avoidcolumn-ref.xht"/>
<meta name="flags" content=""/>
<style type="text/css"><![CDATA[
html {
width: 800px;
background: white;
}
body {
background: black;
-moz-column-count: 3;
-moz-column-gap: 0;
-moz-column-fill: auto;
height: 300px;
}
h1 {
-moz-column-span: all;
color: white;
}
div { background: red;
height: 150px;
break-inside: avoid-column;
}
span {
float: left;
}
]]></style>
</head>
<body>
<h1>You should not see the word FAIL</h1>
<div>
<span>FAIL</span>
</div>
<div>
<span>FAIL</span>
</div>
<div>
<span>FAIL</span>
</div>
</body>
</html>
|