mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
50 lines
No EOL
1 KiB
HTML
50 lines
No EOL
1 KiB
HTML
<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<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.xht" />
|
|
<meta name="flags" content="" />
|
|
<style type="text/css"><![CDATA[
|
|
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> |