blob: eef407361182ddbb263767260e225f5bbbda4210 [file] [log] [blame]
<!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>CSS Test: Column-width applied to 'display: block' - Reference</title>
<link rel="author" title="Codeaurora" href="http://www.codeaurora.org/" />
<link rel="help" href="http://www.w3.org/TR/css3-multicol/#cw"/>
<style type="text/css">
#parent
{
font: 20px/1 monospace;
position: relative;
}
#reference, #ref2
{
height: 6em;
width: 11em;
position: absolute;
top: 0;
}
#reference
{
color: green;
}
#ref2
{
color: red ;
}
#reference div
{
position: absolute;
width: 5em;
}
#ref2 div
{
position: absolute;
width: 5em;
}
#right
{
right: 0;
}
</style>
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<div id="parent">
<div id="ref2">
<div>AAAAAAAAA BBBBBBBBB CCCCCCCCC DDDDDDDDD EEEEEEEEE FFFFFFFFF</div>
<div id="right">GGGGGGGGG HHHHHHHHH IIIIIIIII JJJJJJJJJ KKKKKKKKK LLLLLLLLL</div>
</div>
<div id="reference">
<div>AAAAAAAAA BBBBBBBBB CCCCCCCCC DDDDDDDDD EEEEEEEEE FFFFFFFFF</div>
<div id="right">GGGGGGGGG HHHHHHHHH IIIIIIIII JJJJJJJJJ KKKKKKKKK LLLLLLLLL</div>
</div>
</div>
</body>
</html>