servo/tests/wpt/css-tests/css-multicol-1_dev/html4/multicol-br-inside-avoidcolumn-001.htm

50 lines
No EOL
897 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<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="reference/multicol-br-inside-avoidcolumn-ref.htm">
<meta name="flags" content="">
<style type="text/css">
html {
width: 800px;
background: white;
}
body {
background: black;
column-count: 3;
column-gap: 0;
column-fill: auto;
height: 300px;
}
h1 {
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>