62 lines
1.7 KiB
HTML
62 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>MultiColumn: Content in normal flow that extends into column gaps is clipped in middle of column gap</title>
|
|
<link rel="help" href="http://www.w3.org/TR/css3-multicol/#overflow-inside-multicol-elements"/>
|
|
<style>
|
|
#parent
|
|
{
|
|
font: 20px/1 monospace;
|
|
position: relative;
|
|
}
|
|
#multicolumn
|
|
{
|
|
-moz-column-width: 5em;
|
|
-o-column-width: 5em;
|
|
-webkit-column-width: 5em;
|
|
column-width: 5em;
|
|
position: absolute;
|
|
}
|
|
#multicolumn, #reference
|
|
{
|
|
height: 6em;
|
|
width: 11em;
|
|
}
|
|
#multicolumn div
|
|
{
|
|
background: green;
|
|
height: 6em;
|
|
}
|
|
#reference
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
#reference div
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
background:red;
|
|
height: 6em;
|
|
}
|
|
#right
|
|
{
|
|
right: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if there is no red visible on the page.</p>
|
|
<div id="parent">
|
|
<div id="reference">
|
|
<div style="width:5.5em;"></div>
|
|
<div id="right" style="width:5em;"></div>
|
|
</div>
|
|
<div id="multicolumn">
|
|
<div style="width:5.5em;"></div>
|
|
<div style="width:5em;"></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|