servo/tests/wpt/css-tests/css-multicol-1_dev/xhtml1/reference/multicol-count-computed-ref.xht

68 lines
No EOL
1.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>multicolumn | column-rule</title>
<link rel="author" title="Opera Software ASA" href="http://www.opera.com/" />
<style type="text/css"><![CDATA[
body {
margin: 0;
}
div {
font-family: ahem;
font-size: 1em;
line-height: 1em;
color: black;
background: yellow;
margin: 1em;
border: 1em solid gray;
width: 12em;
height: 2em;
position: relative;
widows: 1;
orphans: 1;
}
span {
display: block;
position: absolute;
}
#pink {
color: pink;
}
#orange {
color: orange;
left: 0;
top: 1em;
}
#purple {
color: purple;
left: 9em;
top: 0;
}
#grey {
color: grey;
left: 9em;
top: 1em;
}
#blue {
left: 5.25em;
top: 0;
width: 1.5em;
height: 2em;
background: blue;
}
]]></style>
</head>
<body>
<div>
<span id="pink">xxxx</span>
<span id="orange">xxxx</span>
<span id="purple">xxxx</span>
<span id="grey">xxxx</span>
<span id="blue"></span>
</div>
</body>
</html>